diff options
author | Karl Berry <karl@freefriends.org> | 2009-12-10 23:59:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-12-10 23:59:37 +0000 |
commit | a7f522b53649f0c836c40c76904e78e3ca2010bb (patch) | |
tree | f6a217bf5e48b4f7d3136e38da5ff8a9cd71ada1 /Build/source/texk/dvipsk/resident.c | |
parent | c3fdfb314d8b7780daa5b967bf843fae5f80d283 (diff) |
use unsigned for hash fn
git-svn-id: svn://tug.org/texlive/trunk@16345 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/resident.c')
-rw-r--r-- | Build/source/texk/dvipsk/resident.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvipsk/resident.c b/Build/source/texk/dvipsk/resident.c index 7522fd84164..b1d575e8b6f 100644 --- a/Build/source/texk/dvipsk/resident.c +++ b/Build/source/texk/dvipsk/resident.c @@ -37,10 +37,10 @@ struct header_list *ps_fonts_used ; /* * Our hash routine. */ -int +unsigned int hash(char *s) { - int h = 12 ; + unsigned h = 12 ; while (*s != 0) h = (h + h + *s++) % RESHASHPRIME ; |