summaryrefslogtreecommitdiff
path: root/elfcopy/symbols.c
diff options
context:
space:
mode:
Diffstat (limited to 'elfcopy/symbols.c')
-rw-r--r--elfcopy/symbols.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elfcopy/symbols.c b/elfcopy/symbols.c
index 49bb23988657..4a7d38a10812 100644
--- a/elfcopy/symbols.c
+++ b/elfcopy/symbols.c
@@ -33,7 +33,7 @@
#include "elfcopy.h"
-ELFTC_VCSID("$Id: symbols.c 3174 2015-03-27 17:13:41Z emaste $");
+ELFTC_VCSID("$Id: symbols.c 3191 2015-05-04 17:07:01Z jkoshy $");
/* Symbol table buffer structure. */
struct symbuf {
@@ -1090,7 +1090,7 @@ str_hash(const char *s)
{
uint32_t hash;
- for (hash = 2166136261; *s; s++)
+ for (hash = 2166136261UL; *s; s++)
hash = (hash ^ *s) * 16777619;
return (hash & (STHASHSIZE - 1));