mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-06-03 17:08:08 -04:00
Use right type on enums
This commit is contained in:
parent
6f44c5c52a
commit
6074c4d6fd
@ -63,14 +63,14 @@ typedef quint8 uchar;
|
|||||||
namespace // Private.
|
namespace // Private.
|
||||||
{
|
{
|
||||||
|
|
||||||
enum Signature {
|
enum Signature : quint32 {
|
||||||
S_8BIM = 0x3842494D, // '8BIM'
|
S_8BIM = 0x3842494D, // '8BIM'
|
||||||
S_8B64 = 0x38423634, // '8B64'
|
S_8B64 = 0x38423634, // '8B64'
|
||||||
|
|
||||||
S_MeSa = 0x4D655361 // 'MeSa'
|
S_MeSa = 0x4D655361 // 'MeSa'
|
||||||
};
|
};
|
||||||
|
|
||||||
enum ColorMode {
|
enum ColorMode : quint16 {
|
||||||
CM_BITMAP = 0,
|
CM_BITMAP = 0,
|
||||||
CM_GRAYSCALE = 1,
|
CM_GRAYSCALE = 1,
|
||||||
CM_INDEXED = 2,
|
CM_INDEXED = 2,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user