Improved API consistency for flag data types
Flag data types are always unsigned and have the valid values following the typedef.
This commit is contained in:
1 parent
1d2b00efe1
commit
aecb62e30d
12 files changed
+154
-168
No files matched your search
@@ -193,7 +193,7 @@ typedef struct SDL_Haptic SDL_Haptic;
|
||||
*
|
||||
* \sa SDL_HapticPeriodic
|
||||
*/
|
||||
#define SDL_HAPTIC_SQUARE (1<<2)
|
||||
#define SDL_HAPTIC_SQUARE (1u<<2)
|
||||
|
||||
/**
|
||||
* Triangle wave effect supported.
|
||||
|
||||
Reference in new issue
Block a user