From: Brian Aker Date: Sat, 25 Jun 2011 01:04:47 +0000 (-0700) Subject: ULL for memcapable. X-Git-Tag: 0.51~1^2~9^2~18 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=bc8deb7c59cf022024cff1de478fa389dd4cec31;p=m6w6%2Flibmemcached ULL for memcapable. --- diff --git a/clients/memcapable.cc b/clients/memcapable.cc index 9c9feb52..99ca5ea7 100644 --- a/clients/memcapable.cc +++ b/clients/memcapable.cc @@ -655,7 +655,7 @@ static enum test_return test_binary_set_impl(const char* key, uint8_t cc) command cmd; response rsp; - uint64_t value= 0xdeadbeefdeadcafe; + uint64_t value= 0xdeadbeefdeadcafeULL; storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); /* set should always work */ @@ -725,7 +725,7 @@ static enum test_return test_binary_add_impl(const char* key, uint8_t cc) { command cmd; response rsp; - uint64_t value= 0xdeadbeefdeadcafe; + uint64_t value= 0xdeadbeefdeadcafeULL; storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); /* first add should work, rest of them should fail (even with cas @@ -784,7 +784,7 @@ static enum test_return test_binary_replace_impl(const char* key, uint8_t cc) { command cmd; response rsp; - uint64_t value= 0xdeadbeefdeadcafe; + uint64_t value= 0xdeadbeefdeadcafeULL; storage_command(&cmd, cc, key, strlen(key), &value, sizeof (value), 0, 0); /* first replace should fail, successive should succeed (when the