X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=stat.c;h=287ec0bf583721cd4e2a980d385ded02180963bd;hp=3b54d6e494f63f4cc23db2ca79afc75bdcd717fc;hb=a982d4e524e6cdfa1ba675df97a5d9e9f3d4c3ce;hpb=458cfcb48cbd5857b4ae9308e77a278dffead726 diff --git a/stat.c b/stat.c index 3b54d6e..287ec0b 100644 --- a/stat.c +++ b/stat.c @@ -71,8 +71,8 @@ static stat_mem_block_t *stat_mem_block_root = NULL; */ static stat_size_table_t stat_size_new(void) { return (stat_size_table_t)memset( - mem_a(sizeof(stat_size_entry_t) * ST_SIZE), - 0, ST_SIZE * sizeof(stat_size_entry_t) + mem_a(sizeof(stat_size_entry_t*) * ST_SIZE), + 0, ST_SIZE * sizeof(stat_size_entry_t*) ); }