Skip to content

Commit b9afdf1

Browse files
committed
Use int64_t for 64bit ints
resolves open-source-parsers#509
1 parent 80a82ea commit b9afdf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/json/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ typedef unsigned int LargestUInt;
152152
typedef __int64 Int64;
153153
typedef unsigned __int64 UInt64;
154154
#else // if defined(_MSC_VER) // Other platforms, use long long
155-
typedef long long int Int64;
156-
typedef unsigned long long int UInt64;
155+
typedef int64_t Int64;
156+
typedef uint64_t UInt64;
157157
#endif // if defined(_MSC_VER)
158158
typedef Int64 LargestInt;
159159
typedef UInt64 LargestUInt;

0 commit comments

Comments
 (0)