projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
More modifications to the C++ interface. Changing the return type of a
[m6w6/libmemcached]
/
clients
/
memcat.c
diff --git
a/clients/memcat.c
b/clients/memcat.c
index 36e636223ac7abf3e238980a0d9d767efbaeb22b..1c659b781531fce0593c3406d30f6a0c5912c96b 100644
(file)
--- a/
clients/memcat.c
+++ b/
clients/memcat.c
@@
-1,3
+1,4
@@
+#include "libmemcached/common.h"
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
#include <string.h>
@@
-51,7
+52,8
@@
int main(int argc, char *argv[])
memcached_server_push(memc, servers);
memcached_server_list_free(servers);
memcached_server_push(memc, servers);
memcached_server_list_free(servers);
- memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL, opt_binary);
+ memcached_behavior_set(memc, MEMCACHED_BEHAVIOR_BINARY_PROTOCOL,
+ (uint64_t)opt_binary);
while (optind < argc)
{
while (optind < argc)
{