From: Brian Aker Date: Wed, 27 Feb 2008 22:16:10 +0000 (-0800) Subject: Bad setting (found by Marc Rossi) X-Git-Tag: 0.20~1^2~55^2~3^2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f80333febbaae93bf7f5171724873821c41f04e9;p=awesomized%2Flibmemcached Bad setting (found by Marc Rossi) --- diff --git a/src/utilities.c b/src/utilities.c index 2094d218..2a63f9e5 100644 --- a/src/utilities.c +++ b/src/utilities.c @@ -75,7 +75,7 @@ void help_command(char *command_name, char *description, void process_hash_option(memcached_st *memc, char *opt_hash) { - unsigned int set; + uint64_t set; memcached_return rc; if (opt_hash == NULL) @@ -99,7 +99,7 @@ void process_hash_option(memcached_st *memc, char *opt_hash) exit(1); } - rc= memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_HASH, &set); + rc= memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_HASH, set); if (rc != MEMCACHED_SUCCESS) { fprintf(stderr, "hash: memcache error %s\n", memcached_strerror(memc, rc));