Commit f774f7b7 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

oleaut32: Make ctl2_hash_guid match the same function in widl, which has likely…

oleaut32: Make ctl2_hash_guid match the same function in widl, which has likely had much wider testing.
parent 688c6a78
......@@ -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;
}
/****************************************************************************
......
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