projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merge up trunk
[m6w6/libmemcached]
/
tests
/
plus.cpp
diff --git
a/tests/plus.cpp
b/tests/plus.cpp
index 90f7a0daaf58774c72d33547298d7a00aedf7b13..aed34a4960f4079c03416e99f37f64efcae46a1f 100644
(file)
--- 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(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_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_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;
}
return TEST_SUCCESS;
}