diff options
| author | INADA Naoki <methane@users.noreply.github.com> | 2015-01-07 15:56:58 +0900 |
|---|---|---|
| committer | INADA Naoki <methane@users.noreply.github.com> | 2015-01-07 15:56:58 +0900 |
| commit | 198196c73116120a7ed1108abb3e17a0e971f381 (patch) | |
| tree | 4c9592a72b73480d9a23e4d5cb2dc9d8dd5650db /msgpack/_packer.pyx | |
| parent | 593887025ea73acdd94fed93480011fb26e0aca8 (diff) | |
| parent | 9624a2aca31ae94a92e2fc7225a12bd4875e3591 (diff) | |
| download | msgpack-python-198196c73116120a7ed1108abb3e17a0e971f381.tar.gz | |
Merge pull request #115 from msgpack/fix-windows
Fix build failuer for Python 2.7 on Windows.
Diffstat (limited to 'msgpack/_packer.pyx')
| -rw-r--r-- | msgpack/_packer.pyx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/msgpack/_packer.pyx b/msgpack/_packer.pyx index 82e4a63..fcd20a7 100644 --- a/msgpack/_packer.pyx +++ b/msgpack/_packer.pyx @@ -5,7 +5,6 @@ from cpython cimport * from libc.stdlib cimport * from libc.string cimport * from libc.limits cimport * -from libc.stdint cimport int8_t from msgpack.exceptions import PackValueError from msgpack import ExtType @@ -32,7 +31,7 @@ cdef extern from "pack.h": int msgpack_pack_raw(msgpack_packer* pk, size_t l) int msgpack_pack_bin(msgpack_packer* pk, size_t l) int msgpack_pack_raw_body(msgpack_packer* pk, char* body, size_t l) - int msgpack_pack_ext(msgpack_packer* pk, int8_t typecode, size_t l) + int msgpack_pack_ext(msgpack_packer* pk, char typecode, size_t l) cdef int DEFAULT_RECURSE_LIMIT=511 |
