summaryrefslogtreecommitdiffstats
path: root/cmd/zstream/zstream_decompress.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/zstream/zstream_decompress.c')
-rw-r--r--cmd/zstream/zstream_decompress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/zstream/zstream_decompress.c b/cmd/zstream/zstream_decompress.c
index e5527777b..6e0da0852 100644
--- a/cmd/zstream/zstream_decompress.c
+++ b/cmd/zstream/zstream_decompress.c
@@ -146,7 +146,7 @@ zstream_do_decompress(int argc, char *argv[])
p = hsearch(e, ENTER);
if (p == NULL)
errx(1, "hsearch");
- p->data = (void*)type;
+ p->data = (void*)(intptr_t)type;
}
if (isatty(STDIN_FILENO)) {