diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-11-01 17:38:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-11-01 17:56:06 -0400 |
commit | 94866c2763c51d11354437b48d05c19306e220a9 (patch) | |
tree | 50daf90be198f4f5f8c98c7042cb771d5a745f50 /test/regress_zlib.c | |
parent | 2479d964054c3743b9ed292dc1cd2ee70aadf6fb (diff) | |
download | libevent-94866c2763c51d11354437b48d05c19306e220a9.tar.gz |
Compile without warnings on mingw64
This is mostly a matter of catching cases where we were still
assuming that evutil_socket_t could be used as an int.
Diffstat (limited to 'test/regress_zlib.c')
-rw-r--r-- | test/regress_zlib.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/regress_zlib.c b/test/regress_zlib.c index 887a6853..641fb5cf 100644 --- a/test/regress_zlib.c +++ b/test/regress_zlib.c @@ -276,7 +276,8 @@ test_bufferevent_zlib(void *arg) struct bufferevent *bev1=NULL, *bev2=NULL; char buffer[8333]; z_stream z_input, z_output; - int i, pair[2]={-1,-1}, r; + int i, r; + evutil_socket_t pair[2] = {-1, -1}; (void)arg; infilter_calls = outfilter_calls = readcb_finished = writecb_finished |