mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
ZERO_LENGTH_ARRAY causes problems for external progs, so just go to 1
This commit is contained in:
parent
ccbae9bd5c
commit
581d6bc721
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ typedef struct hashtab_s {
|
|||
void *user_data;
|
||||
char *(*get_key)(void*,void*);
|
||||
void (*free_ele)(void*,void*);
|
||||
hashlink_t *tab[ZERO_LENGTH_ARRAY];
|
||||
hashlink_t *tab[1]; // variable size
|
||||
} hashtab_t;
|
||||
|
||||
hashtab_t *Hash_NewTable (int tsize, char *(*gk)(void*,void*),
|
||||
|
|
Loading…
Reference in a new issue