summaryrefslogtreecommitdiff
path: root/tests/c-parse.exp
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2016-11-26 01:05:14 +0100
committerBruno Haible <bruno@clisp.org>2016-11-26 01:05:14 +0100
commitb3356507ce8a6e2636fcc22abb7965989f7f4d07 (patch)
treef05bdf8862f8a6a05ecb06cffe2d78d5e8b79481 /tests/c-parse.exp
parentefd1fd8439a8db873e9c0ef207dcd5467b7cfc14 (diff)
downloadgperf-b3356507ce8a6e2636fcc22abb7965989f7f4d07.tar.gz
Avoid 'warning: implicit conversion changes signedness' in output code.
Diffstat (limited to 'tests/c-parse.exp')
-rw-r--r--tests/c-parse.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/c-parse.exp b/tests/c-parse.exp
index d370941..1efb61b 100644
--- a/tests/c-parse.exp
+++ b/tests/c-parse.exp
@@ -80,7 +80,7 @@ hash (str, len)
126, 126, 126, 126, 126, 126, 126, 126, 126, 126,
126, 126, 126, 126, 126, 126
};
- register int hval = len;
+ register unsigned int hval = len;
switch (hval)
{