From bc8deb7c59cf022024cff1de478fa389dd4cec31 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Fri, 24 Jun 2011 18:04:47 -0700 Subject: [PATCH] ULL for memcapable. --- clients/memcapable.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.30.2