diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-05-01 23:33:31 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-05-01 23:33:31 +0000 |
commit | 3d694ad2d883a84b7ca0b7148c636ee7897ef326 (patch) | |
tree | 9b252cbccb89585a98db4ea9aeff642bf56f5401 /python/google | |
parent | a8923cdd9a86a40f170a6215d1d142ae853a9914 (diff) | |
download | protobuf-3d694ad2d883a84b7ca0b7148c636ee7897ef326.tar.gz protobuf-3d694ad2d883a84b7ca0b7148c636ee7897ef326.tar.bz2 protobuf-3d694ad2d883a84b7ca0b7148c636ee7897ef326.zip |
Fix test failure on 64-bit python.
Diffstat (limited to 'python/google')
-rwxr-xr-x | python/google/protobuf/internal/decoder_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/google/protobuf/internal/decoder_test.py b/python/google/protobuf/internal/decoder_test.py index e186e14d..9bae888c 100755 --- a/python/google/protobuf/internal/decoder_test.py +++ b/python/google/protobuf/internal/decoder_test.py @@ -122,7 +122,7 @@ class DecoderTest(unittest.TestCase): ['fixed64', decoder.Decoder.ReadFixed64, 0xffffffffffffffff, 'ReadLittleEndian64', 0xffffffffffffffff], ['sfixed32', decoder.Decoder.ReadSFixed32, long(-1), - 'ReadLittleEndian32', 0xffffffff], + 'ReadLittleEndian32', long(0xffffffff)], ['sfixed64', decoder.Decoder.ReadSFixed64, long(-1), 'ReadLittleEndian64', 0xffffffffffffffff], ['float', decoder.Decoder.ReadFloat, 0.0, |