From 4854a9e32025404e68865c61b95f2143d023c6b6 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Mon, 29 Oct 2012 08:48:55 +0100 Subject: [PATCH] No bzero in MSVC --- simgear/io/HTTPClient.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/io/HTTPClient.cxx b/simgear/io/HTTPClient.cxx index 99fb67b3..7531a101 100644 --- a/simgear/io/HTTPClient.cxx +++ b/simgear/io/HTTPClient.cxx @@ -451,7 +451,7 @@ private: headersComplete(); if (contentGZip || contentDeflate) { - bzero(&zlib, sizeof(z_stream)); + memset(&zlib, 0, sizeof(z_stream)); if (!zlibOutputBuffer) { zlibOutputBuffer = (unsigned char*) malloc(ZLIB_DECOMPRESS_BUFFER_SIZE); } -- 2.39.5