From: ceriel Date: Mon, 4 Feb 1991 14:25:58 +0000 (+0000) Subject: hash() now returns same value on 2-byte and 4-byte machines X-Git-Tag: release-5-5~1263 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=1ed0f8180f30f1d054f1895ddd3abfe055946483;p=ack.git hash() now returns same value on 2-byte and 4-byte machines --- diff --git a/mach/proto/as/comm5.c b/mach/proto/as/comm5.c index 2eb8d1250..5fbd6722a 100644 --- a/mach/proto/as/comm5.c +++ b/mach/proto/as/comm5.c @@ -468,7 +468,7 @@ ok: hash(p) register char *p; { - register unsigned h; + register unsigned short h; register c; h = 0;