mirror of
https://invent.kde.org/frameworks/kimageformats.git
synced 2025-05-28 00:30:23 -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.
|
||||
{
|
||||
|
||||
enum Signature {
|
||||
enum Signature : quint32 {
|
||||
S_8BIM = 0x3842494D, // '8BIM'
|
||||
S_8B64 = 0x38423634, // '8B64'
|
||||
|
||||
S_MeSa = 0x4D655361 // 'MeSa'
|
||||
};
|
||||
|
||||
enum ColorMode {
|
||||
enum ColorMode : quint16 {
|
||||
CM_BITMAP = 0,
|
||||
CM_GRAYSCALE = 1,
|
||||
CM_INDEXED = 2,
|
||||
|
Loading…
Reference in New Issue
Block a user