1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Avoid 'warning: implicit conversion changes signedness' in output code.

This commit is contained in:
Bruno Haible
2016-11-26 01:05:14 +01:00
parent efd1fd8439
commit b3356507ce
10 changed files with 20 additions and 10 deletions

View File

@@ -78,7 +78,7 @@ hash (register const char *str, register unsigned int len)
96, 96, 96, 96, 96, 96, 96, 96, 96, 96,
96, 96, 96, 96, 96, 96
};
register int hval = len;
register unsigned int hval = len;
switch (hval)
{