diff options
author | INADA Naoki <methane@users.noreply.github.com> | 2015-11-07 16:54:11 +0900 |
---|---|---|
committer | INADA Naoki <methane@users.noreply.github.com> | 2015-11-07 16:54:11 +0900 |
commit | a329850147e045ca990c1ff870ce191c4efa4d06 (patch) | |
tree | 20f7d97c1f94fa2e5fe3df00a88c574f5748d155 /msgpack/unpack.h | |
parent | c102e6cee58df543d352e36f6d2d0bdd595e1063 (diff) | |
parent | e9ab4d8824fddd070bac7cedca332130bf2028b0 (diff) | |
download | msgpack-python-a329850147e045ca990c1ff870ce191c4efa4d06.tar.gz |
Merge pull request #153 from methane/fix/warnings
fix compiler warnings
Diffstat (limited to 'msgpack/unpack.h')
-rw-r--r-- | msgpack/unpack.h | 2 |
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) { |