summaryrefslogtreecommitdiff
path: root/cpp/test/IceUtil/inputUtil/Client.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2003-02-20 20:25:15 +0000
committerMark Spruiell <mes@zeroc.com>2003-02-20 20:25:15 +0000
commit32d82b918f3d2fd35e2763b6ee4f05980c7b651c (patch)
treeea6088bb0a5f9fb972051db555d785b0a003bc94 /cpp/test/IceUtil/inputUtil/Client.cpp
parentremove trailing comma from enum (diff)
downloadice-32d82b918f3d2fd35e2763b6ee4f05980c7b651c.tar.bz2
ice-32d82b918f3d2fd35e2763b6ee4f05980c7b651c.tar.xz
ice-32d82b918f3d2fd35e2763b6ee4f05980c7b651c.zip
adding ICE_INT64 macro for portable long long constants
Diffstat (limited to 'cpp/test/IceUtil/inputUtil/Client.cpp')
-rw-r--r--cpp/test/IceUtil/inputUtil/Client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/IceUtil/inputUtil/Client.cpp b/cpp/test/IceUtil/inputUtil/Client.cpp
index eb62d4e7a6a..1662dcfe84e 100644
--- a/cpp/test/IceUtil/inputUtil/Client.cpp
+++ b/cpp/test/IceUtil/inputUtil/Client.cpp
@@ -78,21 +78,21 @@ main(int, char**)
test(!b && result == 0 && pos == 1);
b = stringToInt64("-9223372036854775807", result, pos);
- test(b && result == -9223372036854775807 && pos == string::npos);
+ test(b && result == ICE_INT64(-9223372036854775807) && pos == string::npos);
b = stringToInt64("-9223372036854775808", result, pos);
test(b && result == Int64Min && pos == string::npos);
b = stringToInt64("-9223372036854775809", result, pos);
test(!b && result == Int64Min && pos == string::npos);
b = stringToInt64("9223372036854775806", result, pos);
- test(b && result == 9223372036854775806 && pos == string::npos);
+ test(b && result == ICE_INT64(9223372036854775806) && pos == string::npos);
b = stringToInt64("9223372036854775807", result, pos);
test(b && result == Int64Max && pos == string::npos);
b = stringToInt64("9223372036854775808", result, pos);
test(!b && result == Int64Max && pos == string::npos);
b = stringToInt64("-9223372036854775807Q", result, pos);
- test(b && result == -9223372036854775807 && pos == 20);
+ test(b && result == ICE_INT64(-9223372036854775807) && pos == 20);
b = stringToInt64("-9223372036854775808Q", result, pos);
test(b && result == Int64Min && pos == 20);
b = stringToInt64("-9223372036854775809Q", result, pos);