Fix a warning in mono-conc-hashtable.
authorAlex Rønne Petersen <alexrp@xamarin.com>
Thu, 21 Aug 2014 16:22:49 +0000 (18:22 +0200)
committerAlex Rønne Petersen <alexrp@xamarin.com>
Thu, 21 Aug 2014 16:23:06 +0000 (18:23 +0200)
mono/utils/mono-conc-hashtable.c

index 7c4637f81cbba782f95982dd3d4402009949fa1d..ae97769a64bdd57b84323bf55347a0d324e96a56 100644 (file)
@@ -72,7 +72,7 @@ than just the numbers.
 static MONO_ALWAYS_INLINE int
 mix_hash (int hash)
 {
-       return ((hash * 215497) >> 16) ^ (hash * 1823231) + hash;
+       return ((hash * 215497) >> 16) ^ (hash * 1823231 + hash);
 }
 
 static MONO_ALWAYS_INLINE void