diff --git a/tools/makedep.c b/tools/makedep.c index 298ec049b0..8cbba1bc9a 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -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; }