diff options
| author | stijn <stinos@zoho.com> | 2014-09-01 10:16:07 +0200 |
|---|---|---|
| committer | stijn <stinos@zoho.com> | 2014-09-02 09:00:20 +0200 |
| commit | 759138caee65a58ecf1f02ca7c57bc9ba3d3c5f5 (patch) | |
| tree | cb55e2658c6e87458c79c3e0161d3ffe2cb8f058 /extmod | |
| parent | 90fad65d2fb2695e1941296a6a55c175982299f2 (diff) | |
msvc: Exclude modtermios, include extmod and fix compilation error
Diffstat (limited to 'extmod')
| -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); |
