From: Brian Aker Date: Fri, 11 Feb 2011 00:30:08 +0000 (-0800) Subject: Remove icc warnings (some of). X-Git-Tag: 0.51~45^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=4bd3cc36a7225286b376c2e1dad9a9ce667cd1d1;p=awesomized%2Flibmemcached Remove icc warnings (some of). --- diff --git a/libmemcached/protocol/ascii_handler.c b/libmemcached/protocol/ascii_handler.c index 87a0edb1..465b7396 100644 --- a/libmemcached/protocol/ascii_handler.c +++ b/libmemcached/protocol/ascii_handler.c @@ -92,10 +92,10 @@ static void send_command_usage(memcached_protocol_client_st *client) */ static protocol_binary_response_status ascii_version_response_handler(const void *cookie, - const void *text, - uint32_t textlen) + const void *text, + uint32_t textlen) { - memcached_protocol_client_st *client= (void*)cookie; + memcached_protocol_client_st *client= (memcached_protocol_client_st*)cookie; spool_string(client, "VERSION "); client->root->spool(client, text, textlen); spool_string(client, "\r\n"); diff --git a/libmemcached/protocol/common.h b/libmemcached/protocol/common.h index f7fa6044..185aef0b 100644 --- a/libmemcached/protocol/common.h +++ b/libmemcached/protocol/common.h @@ -93,7 +93,7 @@ enum ascii_cmd { VERSION_CMD, QUIT_CMD, VERBOSITY_CMD, - UNKNOWN_CMD, + UNKNOWN_CMD }; struct memcached_protocol_client_st {