diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-09-02 11:39:12 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-09-02 11:39:12 +0100 |
| commit | 27dd910c446e89fadb6aecac5175c8c2ccbac5ff (patch) | |
| tree | 6aee913e261043ad680e2fa5076060fcf1932492 /extmod/modzlibd.c | |
| parent | bad2df3e95cd5719099319d71590a79bf6bc4493 (diff) | |
| parent | e875e3882d9c567a8b2dc88e9f13e1057fc39e9f (diff) | |
Merge branch 'stinos-msvc-extmod'
Diffstat (limited to 'extmod/modzlibd.c')
| -rw-r--r-- | extmod/modzlibd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extmod/modzlibd.c b/extmod/modzlibd.c index dbf992f91..696b7c8ec 100644 --- a/extmod/modzlibd.c +++ b/extmod/modzlibd.c @@ -64,7 +64,7 @@ STATIC mp_obj_t mod_zlibd_decompress(uint n_args, mp_obj_t *args) { size_t in_buf_sz = bufinfo.len - in_buf_ofs; DEBUG_printf("tinfl in: in_ofs=%d in_sz=%d dst_ofs=%d, dst_sz=%d\n", in_buf_ofs, in_buf_sz, dst_buf_ofs, dst_buf_sz); tinfl_status st = tinfl_decompress(decomp, - bufinfo.buf + in_buf_ofs, &in_buf_sz, + (mz_uint8*) bufinfo.buf + in_buf_ofs, &in_buf_sz, out, out + dst_buf_ofs, &dst_buf_sz, TINFL_FLAG_USING_NON_WRAPPING_OUTPUT_BUF | TINFL_FLAG_PARSE_ZLIB_HEADER); DEBUG_printf("tinfl out: st=%d, in_sz=%d, out_sz=%d\n", st, in_buf_sz, dst_buf_sz); |
