summaryrefslogtreecommitdiff
path: root/msgpack/_packer.pyx
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2016-05-03 11:58:28 +0900
committerINADA Naoki <methane@users.noreply.github.com>2016-05-03 11:58:28 +0900
commitceb9635a3f4d7f3dd4874b98773ca6f7db9296a7 (patch)
treeec8e9bda0f34a246af7a80033011d743e3e5457d /msgpack/_packer.pyx
parent6b113a6fb37ffb969e92429b06aab9ea9b8eeb4a (diff)
downloadmsgpack-python-ceb9635a3f4d7f3dd4874b98773ca6f7db9296a7.tar.gz
Use AppVeyor to build windows wheel (#188)
* Add AppVeyor support to build windows wheel * Fix test_limits on 32bit environments * Ignore Python35-x64 test fail for now Should be fixed in next version.
Diffstat (limited to 'msgpack/_packer.pyx')
-rw-r--r--msgpack/_packer.pyx4
1 files changed, 2 insertions, 2 deletions
diff --git a/msgpack/_packer.pyx b/msgpack/_packer.pyx
index d491cc1..b1a912b 100644
--- a/msgpack/_packer.pyx
+++ b/msgpack/_packer.pyx
@@ -271,7 +271,7 @@ cdef class Packer(object):
msgpack_pack_ext(&self.pk, typecode, len(data))
msgpack_pack_raw_body(&self.pk, data, len(data))
- def pack_array_header(self, size_t size):
+ def pack_array_header(self, long long size):
if size > (2**32-1):
raise PackValueError
cdef int ret = msgpack_pack_array(&self.pk, size)
@@ -284,7 +284,7 @@ cdef class Packer(object):
self.pk.length = 0
return buf
- def pack_map_header(self, size_t size):
+ def pack_map_header(self, long long size):
if size > (2**32-1):
raise PackValueError
cdef int ret = msgpack_pack_map(&self.pk, size)