summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/inputUtil/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/IceUtil/inputUtil/Client.cpp')
-rw-r--r--cpp/test/IceUtil/inputUtil/Client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/IceUtil/inputUtil/Client.cpp b/cpp/test/IceUtil/inputUtil/Client.cpp
index 82afd1d54f9..b50c8756586 100644
--- a/cpp/test/IceUtil/inputUtil/Client.cpp
+++ b/cpp/test/IceUtil/inputUtil/Client.cpp
@@ -83,7 +83,7 @@ main(int, char**)
test(!b && result == 0);
b = stringToInt64("-9223372036854775807", result);
- test(b && result == ICE_INT64(-9223372036854775807));
+ test(b && result == -ICE_INT64(9223372036854775807));
b = stringToInt64("-9223372036854775808", result);
test(b && result == Int64Min);
b = stringToInt64("-9223372036854775809", result);
@@ -97,7 +97,7 @@ main(int, char**)
test(!b && result > 0);
b = stringToInt64("-9223372036854775807Q", result);
- test(b && result == ICE_INT64(-9223372036854775807));
+ test(b && result == -ICE_INT64(9223372036854775807));
b = stringToInt64("-9223372036854775808Q", result);
test(b && result == Int64Min);
b = stringToInt64("-9223372036854775809Q", result);