From: Frederic Bouvier Date: Mon, 29 Oct 2012 07:48:55 +0000 (+0100) Subject: No bzero in MSVC X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4854a9e32025404e68865c61b95f2143d023c6b6;p=simgear.git No bzero in MSVC --- 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); }