summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-01-23 22:31:37 +0000
committerBernard Normier <bernard@zeroc.com>2006-01-23 22:31:37 +0000
commit503815ae6db043904061eba5da530bab9ad9b54d (patch)
tree83d39a31e947758662880aabdbe26c74d68f00a7 /cpp
parentChanges to support "cpp:array" (diff)
downloadice-503815ae6db043904061eba5da530bab9ad9b54d.tar.bz2
ice-503815ae6db043904061eba5da530bab9ad9b54d.tar.xz
ice-503815ae6db043904061eba5da530bab9ad9b54d.zip
Fixed HP warning
Diffstat (limited to '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);