From: Remi Collet Date: Wed, 28 Jul 2021 08:37:07 +0000 (+0200) Subject: fix [-Wincompatible-pointer-types] warning X-Git-Tag: 1.1.1~11^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=refs%2Fpull%2F118%2Fhead;p=awesomized%2Flibmemcached fix [-Wincompatible-pointer-types] warning --- diff --git a/src/libmemcachedprotocol/binary_handler.c b/src/libmemcachedprotocol/binary_handler.c index e1da2eb4..cdc03b93 100644 --- a/src/libmemcachedprotocol/binary_handler.c +++ b/src/libmemcachedprotocol/binary_handler.c @@ -933,7 +933,7 @@ stat_command_handler(const void *cookie, protocol_binary_request_header *header, .opaque = header->request.opaque, }, }}; - rval = response_handler(cookie, header, &response); + rval = response_handler(cookie, header, (void *) &response); } } else { rval = PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND;