fix [-Wincompatible-pointer-types] warning 118/head
authorRemi Collet <remi@remirepo.net>
Wed, 28 Jul 2021 08:37:07 +0000 (10:37 +0200)
committerRemi Collet <remi@remirepo.net>
Wed, 28 Jul 2021 08:37:07 +0000 (10:37 +0200)
src/libmemcachedprotocol/binary_handler.c

index e1da2eb47ae0a557ef3c72c9f94723806c7ec92c..cdc03b93e3ae1b261b2b15f902312ff93d652038 100644 (file)
@@ -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;