summaryrefslogtreecommitdiff
path: root/atom.c
diff options
context:
space:
mode:
Diffstat (limited to 'atom.c')
-rw-r--r--atom.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/atom.c b/atom.c
index 4d2de11..11b4ac1 100644
--- a/atom.c
+++ b/atom.c
@@ -37,10 +37,10 @@ in this Software without prior written authorization from The Open Group.
#include "stubs.h"
typedef struct _AtomList {
- char *name;
- int len;
- int hash;
- Atom atom;
+ char *name;
+ unsigned int len;
+ int hash;
+ Atom atom;
} AtomListRec, *AtomListPtr;
static AtomListPtr *hashTable;
@@ -50,7 +50,7 @@ static int hashMask;
static int rehash;
static AtomListPtr *reverseMap;
-static int reverseMapSize;
+static size_t reverseMapSize;
static Atom lastAtom;
static int
@@ -113,7 +113,7 @@ static int
ResizeReverseMap(void)
{
AtomListPtr *newMap;
- int newMapSize;
+ size_t newMapSize;
if (reverseMapSize == 0)
newMapSize = 1000;