Fix gcc warning for lack of casting to char pointer.
This commit is contained in:
parent
e467cf5db3
commit
92cfab44b2
@ -1316,12 +1316,14 @@ int rdbLoad(char *filename) {
|
||||
/* All the fields with a name staring with '%' are considered
|
||||
* information fields and are logged at startup with a log
|
||||
* level of NOTICE. */
|
||||
redisLog(REDIS_NOTICE,"RDB '%s': %s", auxkey->ptr, auxval->ptr);
|
||||
redisLog(REDIS_NOTICE,"RDB '%s': %s",
|
||||
(char*)auxkey->ptr,
|
||||
(char*)auxval->ptr);
|
||||
} else {
|
||||
/* We ignore fields we don't understand, as by AUX field
|
||||
* contract. */
|
||||
redisLog(REDIS_DEBUG,"Unrecognized RDB AUX field: '%s'",
|
||||
auxkey->ptr);
|
||||
(char*)auxkey->ptr);
|
||||
}
|
||||
|
||||
decrRefCount(auxkey);
|
||||
|
Loading…
x
Reference in New Issue
Block a user