dswave: Replaced && 0xff by & 0xff.

This commit is contained in:
Marcus Meissner 2006-11-09 15:41:28 +01:00 committed by Alexandre Julliard
parent 7070059217
commit 2c10db0c2f
1 changed files with 2 additions and 2 deletions

View File

@ -147,8 +147,8 @@ const char *debugstr_fourcc (DWORD fourcc) {
const char *debugstr_dmversion (LPDMUS_VERSION version) { const char *debugstr_dmversion (LPDMUS_VERSION version) {
if (!version) return "'null'"; if (!version) return "'null'";
return wine_dbg_sprintf ("\'%i,%i,%i,%i\'", return wine_dbg_sprintf ("\'%i,%i,%i,%i\'",
(int)((version->dwVersionMS && 0xFFFF0000) >> 8), (int)(version->dwVersionMS && 0x0000FFFF), (int)((version->dwVersionMS & 0xFFFF0000) >> 8), (int)(version->dwVersionMS & 0x0000FFFF),
(int)((version->dwVersionLS && 0xFFFF0000) >> 8), (int)(version->dwVersionLS && 0x0000FFFF)); (int)((version->dwVersionLS & 0xFFFF0000) >> 8), (int)(version->dwVersionLS & 0x0000FFFF));
} }
/* returns name of given GUID */ /* returns name of given GUID */