mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 14:12:36 +00:00
Fix a sizeof bug
This commit is contained in:
parent
458cfcb48c
commit
a982d4e524
1 changed files with 2 additions and 2 deletions
4
stat.c
4
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*)
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue