mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
oleaut32: Make ctl2_hash_guid match the same function in widl, which has likely had much wider testing.
This commit is contained in:
parent
688c6a78f1
commit
f774f7b79c
@ -276,7 +276,7 @@ static int ctl2_hash_guid(
|
||||
hash ^= ((const short *)guid)[i];
|
||||
}
|
||||
|
||||
return (hash & 0xf) | ((hash & 0x10) & (0 - !!(hash & 0xe0)));
|
||||
return hash & 0x1f;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user