aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/file_wrappers.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-19 19:02:25 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-19 19:02:25 +0000
commit089dfcd1085ac242322b8e90845ad9913ac7fcd3 (patch)
treee838e807832ae7cc6fe4861cc9c06103630db771 /wiretap/file_wrappers.c
parentc3a054e6c196eacb944027cf8306a250bc1144a3 (diff)
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48424
Diffstat (limited to 'wiretap/file_wrappers.c')
-rw-r--r--wiretap/file_wrappers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/file_wrappers.c b/wiretap/file_wrappers.c
index 42666c41d3..c670c6e696 100644
--- a/wiretap/file_wrappers.c
+++ b/wiretap/file_wrappers.c
@@ -1585,7 +1585,7 @@ gzwfile_write(GZWFILE_T state, const void *buf, guint len)
/* directly compress user buffer to file */
strm->avail_in = len;
- strm->next_in = (voidp)buf;
+ strm->next_in = (Bytef *)buf;
state->pos += len;
if (gz_comp(state, Z_NO_FLUSH) == -1)
return 0;