diff options
-rw-r--r-- | winsup/w32api/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/w32api/include/mmsystem.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index c273756ca..f582daa2a 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2008-10-09 Chris Sutcliffe <ir0nh34d@users.sf.net> + + * include/mmsystem.h (sndAlias): Correct GCC4 warning. + 2008-10-04 Chris Sutcliffe <ir0nh34d@users.sf.net> * include/shellapi.h (NOTIFYICON_VERSION_4): Define. diff --git a/winsup/w32api/include/mmsystem.h b/winsup/w32api/include/mmsystem.h index c0f7ac677..70c612a3b 100644 --- a/winsup/w32api/include/mmsystem.h +++ b/winsup/w32api/include/mmsystem.h @@ -139,7 +139,7 @@ extern "C" { #define SND_PURGE 0x40 #define SND_APPLICATION 0x80 #define SND_ALIAS_START 0 -#define sndAlias(c0,c1) (SND_ALIAS_START+(DWORD)(BYTE)(c0)|((DWORD)(BYTE)(c1)<<8)) +#define sndAlias(c0,c1) (SND_ALIAS_START+((DWORD)(BYTE)(c0)|((DWORD)(BYTE)(c1)<<8))) #define SND_ALIAS_SYSTEMASTERISK sndAlias('S','*') #define SND_ALIAS_SYSTEMQUESTION sndAlias('S','?') #define SND_ALIAS_SYSTEMHAND sndAlias('S','H') |