use 'U' suffix on constants instead of (unsigned int) cast.

This commit is contained in:
Ozkan Sezer
2019-08-30 11:35:20 +03:00
parent d52080c0ab
commit 9c8e403f6b
3 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ typedef enum
k_eControllertype_GenericMouse = 800,
} EControllerType;
#define MAKE_CONTROLLER_ID( nVID, nPID ) (unsigned int)( (unsigned int)nVID << 16 | nPID )
#define MAKE_CONTROLLER_ID( nVID, nPID ) (unsigned int)( (unsigned int)nVID << 16 | (unsigned int)nPID )
typedef struct
{
unsigned int m_unDeviceID;