diff options
author | Michi Henning <michi@zeroc.com> | 2002-07-05 00:40:27 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2002-07-05 00:40:27 +0000 |
commit | 9f76b9bacc2ef653c1bcb2fd27c233792af445c0 (patch) | |
tree | ad41f7404cb4a869f15538862e842400f655028f /cpp/include/Slice/Parser.h | |
parent | Constant definitions for Slice are complete now. (Code generation for C++ (diff) | |
download | ice-9f76b9bacc2ef653c1bcb2fd27c233792af445c0.tar.bz2 ice-9f76b9bacc2ef653c1bcb2fd27c233792af445c0.tar.xz ice-9f76b9bacc2ef653c1bcb2fd27c233792af445c0.zip |
Added "i64" suffix for 64-bit integer literals.
Diffstat (limited to 'cpp/include/Slice/Parser.h')
-rw-r--r-- | cpp/include/Slice/Parser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Slice/Parser.h b/cpp/include/Slice/Parser.h index a60e4190eff..ce3c9055488 100644 --- a/cpp/include/Slice/Parser.h +++ b/cpp/include/Slice/Parser.h @@ -37,8 +37,8 @@ namespace Slice # define STRTOLL(a, b, c) _atoi64(a) typedef __int64 Long; typedef double Double; - const Long INT32_MIN = -0x80000000; - const Long INT32_MAX = 0x7fffffff; + const Long INT32_MIN = -0x80000000i64; + const Long INT32_MAX = 0x7fffffffi64; #elif(__linux__) && defined(i386) # define STRTOLL(a, b, c) strtoll((a), (b), (c)) typedef long long Long; |