1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +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

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