aboutsummaryrefslogtreecommitdiffstats
path: root/z47.c
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:35 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:36:35 +0000
commitb10d39aec443165093f8f28bc6f940530b89cdaf (patch)
tree63a1ef3b3f1d2562c498291cda341a2171a1fe1c /z47.c
parent2f4268e5e02216be53cd85816362191373512463 (diff)
downloadlout-b10d39aec443165093f8f28bc6f940530b89cdaf.tar.gz
Lout 3.21.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@11 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'z47.c')
-rw-r--r--z47.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/z47.c b/z47.c
index d55349c..bd5bbe7 100644
--- a/z47.c
+++ b/z47.c
@@ -1,6 +1,6 @@
/*@z47.c:Environment Table:EnvReadRetrieve()@*********************************/
/* */
-/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.20) */
+/* THE LOUT DOCUMENT FORMATTING SYSTEM (VERSION 3.21) */
/* COPYRIGHT (C) 1991, 2000 Jeffrey H. Kingston */
/* */
/* Jeffrey H. Kingston (jeff@cs.usyd.edu.au) */
@@ -48,7 +48,7 @@ static OBJECT tab[TAB_SIZE];
#define hash1(pos, env, fnum) \
{ \
- pos = ( (int) env + fnum ) % TAB_SIZE; \
+ pos = ( (unsigned int) env + fnum ) % TAB_SIZE; \
}
#define hash2(pos, fnum, offset) \
@@ -91,7 +91,7 @@ void EnvInit(void)
/*****************************************************************************/
BOOLEAN EnvWriteRetrieve(OBJECT env, FILE_NUM fnum, int *offset, int *lnum)
-{ int pos; OBJECT link, y, z;
+{ unsigned int pos; OBJECT link, y, z;
debug2(DET, DD, "EnvWriteRetrieve(env %d, %s)", (int) env, FileName(fnum));
debug1(DET, DDD, " %s", EchoObject(env));
stat_writes++;
@@ -127,7 +127,7 @@ BOOLEAN EnvWriteRetrieve(OBJECT env, FILE_NUM fnum, int *offset, int *lnum)
/*****************************************************************************/
void EnvWriteInsert(OBJECT env, FILE_NUM fnum, int offset, int lnum)
-{ int pos; OBJECT loser, x;
+{ unsigned int pos; OBJECT loser, x;
debug3(DET, DD, "EnvWriteInsert(env %d, %s, %d)", (int) env,
FileName(fnum), offset);