diff options
author | Dan McGee <dpmcgee@gmail.com> | 2015-04-07 11:47:59 -0500 |
---|---|---|
committer | Dan McGee <dpmcgee@gmail.com> | 2015-04-07 11:47:59 -0500 |
commit | 347ae48021e32cba1bac8459cb36f88626268883 (patch) | |
tree | 87cec169455e57db07e3d6b5cdf2f30095267552 /util.c | |
parent | 4bc588efc4a92dcf0e76d87bc730699270d6f178 (diff) | |
download | onkyocontrol-347ae48021e32cba1bac8459cb36f88626268883.tar.gz onkyocontrol-347ae48021e32cba1bac8459cb36f88626268883.zip |
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -82,7 +82,7 @@ unsigned long hash_sdbm(const char *str) if(!str) return hash; while((c = *str++)) - hash = c + hash * 65599; + hash = (unsigned int)c + hash * 65599; return hash; } |