X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fplus.cpp;h=aed34a4960f4079c03416e99f37f64efcae46a1f;hb=91e92172731fe8a37e562a165d25a312569aff44;hp=90f7a0daaf58774c72d33547298d7a00aedf7b13;hpb=28602fd2f5f1c758b50cd82d4545da8e6c55f5c7;p=m6w6%2Flibmemcached diff --git a/tests/plus.cpp b/tests/plus.cpp index 90f7a0da..aed34a49 100644 --- a/tests/plus.cpp +++ b/tests/plus.cpp @@ -128,13 +128,13 @@ test_return_t increment_test(memcached_st *original) test_compare(int_inc_value, int_ret_value); test_true(mcach.increment(key, 1, &int_ret_value)); - test_compare(2UL, int_ret_value); + test_compare(uint64_t(2), int_ret_value); test_true(mcach.increment(key, 1, &int_ret_value)); - test_compare(3UL, int_ret_value); + test_compare(uint64_t(3), int_ret_value); test_true(mcach.increment(key, 5, &int_ret_value)); - test_compare(8UL, int_ret_value); + test_compare(uint64_t(8), int_ret_value); return TEST_SUCCESS; }