diff options
| author | INADA Naoki <methane@users.noreply.github.com> | 2016-05-03 11:58:28 +0900 |
|---|---|---|
| committer | INADA Naoki <songofacandy@gmail.com> | 2016-07-21 19:18:48 +0900 |
| commit | d6254abc8a3ebec6a135b923951767bd97557de4 (patch) | |
| tree | 121cfd7aca79e93d094baaf07f86101de0acd471 /msgpack | |
| parent | 1f8240eaf65b28e93621a8e35f1078d4292047f1 (diff) | |
| download | msgpack-python-d6254abc8a3ebec6a135b923951767bd97557de4.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')
| -rw-r--r-- | msgpack/_packer.pyx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/msgpack/_packer.pyx b/msgpack/_packer.pyx index 6392655..872465b 100644 --- a/msgpack/_packer.pyx +++ b/msgpack/_packer.pyx @@ -244,7 +244,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 ValueError cdef int ret = msgpack_pack_array(&self.pk, size) @@ -257,7 +257,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 ValueError cdef int ret = msgpack_pack_map(&self.pk, size) |
