From 667c2ae9b40f9e8755b118ffad9ab6f53ae14cdd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 28 Jul 2021 10:37:07 +0200 Subject: [PATCH] fix [-Wincompatible-pointer-types] warning --- src/libmemcachedprotocol/binary_handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2