X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=clients%2Fmemcapable.cc;h=99ca5ea77c30cda16e953e6caa8a24a05ae1a9a9;hb=3bebb0839f95592b26678370969c474a88099c4c;hp=9c9feb52d5d46ffa7356ed4a55b9490f17602bc9;hpb=625e84ebfc422790372bc2984f504bdcb4da779c;p=m6w6%2Flibmemcached 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