Fix incorrect usage of cassert.

This commit is contained in:
Qi Wang
2019-11-21 14:10:03 -08:00
committed by Qi Wang
parent 45836d7fd3
commit 1decf958d1
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -402,7 +402,7 @@ tsd_tcache_enabled_data_init(tsd_t *tsd) {
static bool
tcache_bin_init(cache_bin_t *bin, szind_t ind, uintptr_t *stack_cur) {
cassert(sizeof(bin->cur_ptr) == sizeof(void *));
assert(sizeof(bin->cur_ptr) == sizeof(void *));
/*
* The full_position points to the lowest available space. Allocations
* will access the slots toward higher addresses (for the benefit of