[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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user