commit | 9b36ef3575c13aa360f1b2fac312683270978094 | [log] [tgz] |
---|---|---|
author | Mark Slee <mcslee@apache.org> | Tue Oct 02 04:44:48 2007 +0000 |
committer | Mark Slee <mcslee@apache.org> | Tue Oct 02 04:44:48 2007 +0000 |
tree | 3c0651d83576a9fe1b704d690e6b8f01e7014653 | |
parent | 780e4ecac988ba8aeea794631da2ea9a24c7717b [diff] |
Fix 32-bit Python encoding integer issue Summary: Python on 32-bit platforms 2.4+ wants to keep hexconstants positive, therefore converting 0x800000000 to a (long) type to keep that. This causes issues when performing comparison with a signed negative integer. Reviewed By: dreiss Test Plan: Python on 32 bit 2.4+ system making Thrift calls git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665287 13f79535-47bb-0310-9956-ffa450edef68