]> git.sesse.net Git - vlc/blobdiff - src/misc/hashtables.c
* Avoid useless stats_Get calls
[vlc] / src / misc / hashtables.c
index c4c04568861a82fb44d80e70ce040ba68233e5d4..67185b298c1861df3d7774e7f02486b03b5601a2 100644 (file)
@@ -218,7 +218,7 @@ static uint64_t HashString( const char *psz_string, int i_id )
         i_hash ^= i_hash >> 8;
     }
 
-    i_hash += ( i_id << 32 );
+    i_hash += ( (uint64_t)i_id << 32 );
 
     return i_hash;
 }