THRIFT-916: Commit THRIFT-916_fix_no-overflow.patch -- remove overflow coming from a few constants.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1039885 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/test/JSONProtoTest.cpp b/lib/cpp/test/JSONProtoTest.cpp
index 2479638..a9268a2 100644
--- a/lib/cpp/test/JSONProtoTest.cpp
+++ b/lib/cpp/test/JSONProtoTest.cpp
@@ -33,7 +33,7 @@
   OneOfEach ooe;
   ooe.im_true   = true;
   ooe.im_false  = false;
-  ooe.a_bite    = 0xd6;
+  ooe.a_bite    = 0x7f;
   ooe.integer16 = 27000;
   ooe.integer32 = 1<<24;
   ooe.integer64 = (uint64_t)6000 * 1000 * 1000;
@@ -123,7 +123,7 @@
 
   assert(hm == hm2);
 
-  hm2.big[0].a_bite = 0xFF;
+  hm2.big[0].a_bite = 0x00;
 
   assert(hm != hm2);