summaryrefslogtreecommitdiff
path: root/msgpack/unpack.h
diff options
context:
space:
mode:
authorINADA Naoki <songofacandy@gmail.com>2015-11-07 16:30:18 +0900
committerINADA Naoki <songofacandy@gmail.com>2015-11-07 16:52:58 +0900
commite9ab4d8824fddd070bac7cedca332130bf2028b0 (patch)
tree20f7d97c1f94fa2e5fe3df00a88c574f5748d155 /msgpack/unpack.h
parentab359e333044fc89559b946cfec8efb83c2c6122 (diff)
downloadmsgpack-python-e9ab4d8824fddd070bac7cedca332130bf2028b0.tar.gz
Fix warnings
fixes #146
Diffstat (limited to 'msgpack/unpack.h')
-rw-r--r--msgpack/unpack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/msgpack/unpack.h b/msgpack/unpack.h
index 5deb7cd..297bc93 100644
--- a/msgpack/unpack.h
+++ b/msgpack/unpack.h
@@ -33,7 +33,7 @@ typedef struct unpack_user {
typedef PyObject* msgpack_unpack_object;
struct unpack_context;
typedef struct unpack_context unpack_context;
-typedef int (*execute_fn)(unpack_context *ctx, const char* data, size_t len, size_t* off);
+typedef int (*execute_fn)(unpack_context *ctx, const char* data, Py_ssize_t len, Py_ssize_t* off);
static inline msgpack_unpack_object unpack_callback_root(unpack_user* u)
{