Commit f8c315e0 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent fd1ef626
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment