kernel32: Add parentheses to clarify the precedence between '&' and '||'.

This commit is contained in:
Francois Gouget 2011-09-09 01:45:30 +02:00 committed by Alexandre Julliard
parent fd1ef626f0
commit f8c315e052
1 changed files with 1 additions and 1 deletions

View File

@ -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];