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:
parent
5c77426d7f
commit
5cb8f0d0dd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue