[fix] All file_read_uint64 calls that use stack variables read into a uint64_t not a size_t so as not to smash the stack under a 32-bit arch (issue #18)

This commit is contained in:
Al
2016-02-29 22:36:00 -05:00
parent 3aba78d806
commit d35f97f6f1
8 changed files with 162 additions and 139 deletions

View File

@@ -74,7 +74,7 @@ typedef struct trie {
uchar_array *tail;
char *alphabet;
uint8_t alpha_map[NUM_CHARS];
int alphabet_size;
uint32_t alphabet_size;
uint32_t num_keys;
} trie_t;