fixed backup prototype for POOL_sizeof()

This commit is contained in:
Yann Collet 2021-12-30 14:33:21 -08:00
parent b1978d60ee
commit 6211bfee5e

View File

@ -346,7 +346,7 @@ int POOL_tryAdd(POOL_ctx* ctx, POOL_function function, void* opaque) {
return 1;
}
size_t POOL_sizeof(POOL_ctx* ctx) {
size_t POOL_sizeof(const POOL_ctx* ctx) {
if (ctx==NULL) return 0; /* supports sizeof NULL */
assert(ctx == &g_poolCtx);
return sizeof(*ctx);