Remove icc warnings (some of).
authorBrian Aker <brian@tangent.org>
Fri, 11 Feb 2011 00:30:08 +0000 (16:30 -0800)
committerBrian Aker <brian@tangent.org>
Fri, 11 Feb 2011 00:30:08 +0000 (16:30 -0800)
libmemcached/protocol/ascii_handler.c
libmemcached/protocol/common.h

index 87a0edb1b971c7de14d9f756a183329d11a78635..465b73969766432963007dfabe7ea9e4e42b2c43 100644 (file)
@@ -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");
index f7fa60448f5ac9e13aa3b1496e47ad8955678b1f..185aef0b5c7f04d69835ac4a007a81c906b60dac 100644 (file)
@@ -93,7 +93,7 @@ enum ascii_cmd {
   VERSION_CMD,
   QUIT_CMD,
   VERBOSITY_CMD,
-  UNKNOWN_CMD,
+  UNKNOWN_CMD
 };
 
 struct memcached_protocol_client_st {