diff options
Diffstat (limited to 'atom.c')
-rw-r--r-- | atom.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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; |