This two problem were found by the new version of the size_t cocci
test.
}
assert(packet_page);
void* packet_mem = packet_page;
- SCLogInfo("DEBUG: tile_vhuge_size %lu", tile_vhuge_size);
+ SCLogInfo("DEBUG: tile_vhuge_size %"PRIuMAX, (uintmax_t)tile_vhuge_size);
/* Allocate one Huge page just to store buffer stacks, since they are
* only ever accessed by mPipe.
*/
}
newsize = pt->size + 1;
- SCLogDebug("newsize %lu", newsize);
+ SCLogDebug("newsize %"PRIuMAX, (uintmax_t)newsize);
ptmp = SCRealloc(pt->array, (newsize * sizeof(PoolThreadElement)));
if (ptmp == NULL) {