diff options
| author | INADA Naoki <songofacandy@gmail.com> | 2015-11-07 16:30:18 +0900 |
|---|---|---|
| committer | INADA Naoki <songofacandy@gmail.com> | 2015-11-07 16:52:58 +0900 |
| commit | e9ab4d8824fddd070bac7cedca332130bf2028b0 (patch) | |
| tree | 20f7d97c1f94fa2e5fe3df00a88c574f5748d155 /msgpack/unpack.h | |
| parent | ab359e333044fc89559b946cfec8efb83c2c6122 (diff) | |
| download | msgpack-python-e9ab4d8824fddd070bac7cedca332130bf2028b0.tar.gz | |
Fix warnings
fixes #146
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) { |
