makedep: Use an unsigned constant in hash_filename.

This fixes a "warning: this decimal constant is unsigned only in ISO
C90" with gcc 4.9.3.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2016-03-02 00:53:58 +01:00 committed by Alexandre Julliard
parent 5c77426d7f
commit 5cb8f0d0dd
1 changed files with 1 additions and 1 deletions

View File

@ -729,7 +729,7 @@ static char *get_line( FILE *file )
static unsigned int hash_filename( const char *name )
{
/* FNV-1 hash */
unsigned int ret = 2166136261;
unsigned int ret = 2166136261u;
while (*name) ret = (ret * 16777619) ^ *name++;
return ret % HASH_SIZE;
}