Thrift: Fixed rookie mistake.
Summary:
This test now works on 32-bit.
Reviewed By: mcslee
Test Plan: Ran the comment at the top of the file.
Revert Plan: ok
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665192 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/DebugProtoTest.cpp b/test/DebugProtoTest.cpp
index 582e1b3..6c773a1 100644
--- a/test/DebugProtoTest.cpp
+++ b/test/DebugProtoTest.cpp
@@ -23,7 +23,7 @@
ooe.a_bite = 0xd6;
ooe.integer16 = 27000;
ooe.integer32 = 1<<24;
- ooe.integer64 = 6000000000;
+ ooe.integer64 = (uint64_t)6000 * 1000 * 1000;
ooe.double_precision = M_PI;
ooe.some_characters = "Debug THIS!";
ooe.zomg_unicode = "\xd7\n\a\t";