oleaut32: Make ctl2_hash_guid match the same function in widl, which has likely had much wider testing.

This commit is contained in:
Robert Shearman 2006-07-08 11:54:17 +01:00 committed by Alexandre Julliard
parent 688c6a78f1
commit f774f7b79c
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ static int ctl2_hash_guid(
hash ^= ((const short *)guid)[i]; hash ^= ((const short *)guid)[i];
} }
return (hash & 0xf) | ((hash & 0x10) & (0 - !!(hash & 0xe0))); return hash & 0x1f;
} }
/**************************************************************************** /****************************************************************************