diff --git a/src/support/lockedpool.cpp b/src/support/lockedpool.cpp index 52ee13385..6a7e5d628 100644 --- a/src/support/lockedpool.cpp +++ b/src/support/lockedpool.cpp @@ -145,7 +145,7 @@ Arena::Stats Arena::stats() const } #ifdef ARENA_DEBUG -void printchunk(char* base, size_t sz, bool used) { +static void printchunk(void* base, size_t sz, bool used) { std::cout << "0x" << std::hex << std::setw(16) << std::setfill('0') << base << " 0x" << std::hex << std::setw(16) << std::setfill('0') << sz <<