summaryrefslogtreecommitdiff
path: root/contrib/tcsh/sh.exec.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-04-20 04:22:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-04-20 04:22:36 +0000
commit8e66bd9ec80d49c2379efad7367474d2d4a4994a (patch)
treeb621d4cee9510d59a22e8ba84f80bd04ed79bd74 /contrib/tcsh/sh.exec.c
parentc80476e4c3e6730697b9424f88dfa74d1907cabd (diff)
Notes
Diffstat (limited to 'contrib/tcsh/sh.exec.c')
-rw-r--r--contrib/tcsh/sh.exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tcsh/sh.exec.c b/contrib/tcsh/sh.exec.c
index 68c24b67c0399..1751cf95fb134 100644
--- a/contrib/tcsh/sh.exec.c
+++ b/contrib/tcsh/sh.exec.c
@@ -1,4 +1,4 @@
-/* $Header: /src/pub/tcsh/sh.exec.c,v 3.47 1999/04/20 07:48:44 christos Exp $ */
+/* $Header: /src/pub/tcsh/sh.exec.c,v 3.48 2000/01/14 22:57:27 christos Exp $ */
/*
* sh.exec.c: Search, find, and execute a command!
*/
@@ -36,7 +36,7 @@
*/
#include "sh.h"
-RCSID("$Id: sh.exec.c,v 3.47 1999/04/20 07:48:44 christos Exp $")
+RCSID("$Id: sh.exec.c,v 3.48 2000/01/14 22:57:27 christos Exp $")
#include "tc.h"
#include "tw.h"
@@ -827,7 +827,7 @@ static int
hashname(cp)
register Char *cp;
{
- register long h;
+ register unsigned long h;
for (h = 0; *cp; cp++)
h = hash(h, *cp);