diff --git a/src/debug.c b/src/debug.c index af6f99e2a..d3af4db66 100644 --- a/src/debug.c +++ b/src/debug.c @@ -938,8 +938,8 @@ void _serverAssertPrintClientInfo(const client *c) { } void serverLogObjectDebugInfo(const robj *o) { - serverLog(LL_WARNING,"Object type: %d", o->type); - serverLog(LL_WARNING,"Object encoding: %d", o->encoding); + serverLog(LL_WARNING,"Object type: %u", o->type); + serverLog(LL_WARNING,"Object encoding: %u", o->encoding); serverLog(LL_WARNING,"Object refcount: %d", o->refcount); #if UNSAFE_CRASH_REPORT /* This code is now disabled. o->ptr may be unreliable to print. in some