From 90ba302a29b62508940b83124a8b62cc5529379e Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Fri, 10 Oct 2008 02:04:37 +0000 Subject: [PATCH] 2008-10-09 Chris Sutcliffe * include/mmsystem.h (sndAlias): Correct GCC4 warning. --- winsup/w32api/ChangeLog | 4 ++++ winsup/w32api/include/mmsystem.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * include/mmsystem.h (sndAlias): Correct GCC4 warning. + 2008-10-04 Chris Sutcliffe * 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')