From f8c315e052571a97cef9dfefbe3a997320d67a6c Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 9 Sep 2011 01:45:30 +0200 Subject: [PATCH] kernel32: Add parentheses to clarify the precedence between '&' and '||'. --- dlls/kernel32/volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/kernel32/volume.c b/dlls/kernel32/volume.c index 4a2a7b5d323..a937f6b1756 100644 --- a/dlls/kernel32/volume.c +++ b/dlls/kernel32/volume.c @@ -612,7 +612,7 @@ static DWORD VOLUME_GetSuperblockSerial( const UNICODE_STRING *device, HANDLE ha * Me$$ysoft chose to reverse the serial number in NT4/W2K. * It's true and nobody will ever be able to change it. */ - if (GetVersion() & 0x80000000 || type == FS_UDF) + if ((GetVersion() & 0x80000000) || type == FS_UDF) return (sum[3] << 24) | (sum[2] << 16) | (sum[1] << 8) | sum[0]; else return (sum[0] << 24) | (sum[1] << 16) | (sum[2] << 8) | sum[3];