A number of fixes/etc.
[m6w6/libmemcached] / clients / memdump.c
index 4329c1bdd099db1b7a53ccba9653d10dd633142f..e185453890e3abf21b934673d467f91a40305e6d 100644 (file)
@@ -40,7 +40,7 @@ static char *opt_servers= NULL;
 static char *opt_hash= NULL;
 
 /* Print the keys and counter how many were found */
-static memcached_return_t key_printer(memcached_st *ptr __attribute__((unused)),
+static memcached_return_t key_printer(const memcached_st *ptr __attribute__((unused)),
                                       const char *key, size_t key_length,
                                       void *context __attribute__((unused)))
 {