diff --git a/contrib/src/xml/xmlbinz.cpp b/contrib/src/xml/xmlbinz.cpp index a65d81bd99..db42f205ca 100644 --- a/contrib/src/xml/xmlbinz.cpp +++ b/contrib/src/xml/xmlbinz.cpp @@ -52,7 +52,7 @@ bool wxXmlIOHandlerBinZ::Load(wxInputStream& stream, wxXmlDocument& doc) { ReadHeader(stream); wxZlibInputStream costr(stream); - return wxXmlIOHandlerBin::Load(stream, doc); + return wxXmlIOHandlerBin::Load(costr, doc); }