Use 1u literal for flags/masks calculation
Changes `1 <<` and `1<<` to use `1u`.
This commit is contained in:
1 parent
1944c009e9
commit
895586c928
4 files changed
+8
-8
No files matched your search
@@ -107,10 +107,10 @@ typedef Uint16 SDL_AudioFormat;
|
||||
|
||||
|
||||
/* masks for different parts of SDL_AudioFormat. */
|
||||
#define SDL_AUDIO_MASK_BITSIZE (0xFF)
|
||||
#define SDL_AUDIO_MASK_FLOAT (1<<8)
|
||||
#define SDL_AUDIO_MASK_BIG_ENDIAN (1<<12)
|
||||
#define SDL_AUDIO_MASK_SIGNED (1<<15)
|
||||
#define SDL_AUDIO_MASK_BITSIZE (0xFFu)
|
||||
#define SDL_AUDIO_MASK_FLOAT (1u<<8)
|
||||
#define SDL_AUDIO_MASK_BIG_ENDIAN (1u<<12)
|
||||
#define SDL_AUDIO_MASK_SIGNED (1u<<15)
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user