summaryrefslogtreecommitdiffstats
path: root/src/H5Zdeflate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5Zdeflate.c')
-rw-r--r--src/H5Zdeflate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Zdeflate.c b/src/H5Zdeflate.c
index 16ed966..cc7bd12 100644
--- a/src/H5Zdeflate.c
+++ b/src/H5Zdeflate.c
@@ -99,7 +99,7 @@ H5Z_filter_deflate (unsigned UNUSED flags, size_t cd_nelmts,
"memory allocation failed for deflate "
"uncompression");
}
- z_strm.next_out = (char*)outbuf + z_strm.total_out;
+ z_strm.next_out = (unsigned char*)outbuf + z_strm.total_out;
z_strm.avail_out = nalloc - z_strm.total_out;
}
}