From e2c271239bd3fa6fba1893f0f5a4c56159ad4650 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 7 Jul 2001 22:46:53 +0000 Subject: [PATCH] applied patch 436908 (warning fix in serialization code) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/serbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/serbase.cpp b/src/common/serbase.cpp index 7ad3a46705..6b89bea73d 100644 --- a/src/common/serbase.cpp +++ b/src/common/serbase.cpp @@ -76,7 +76,7 @@ void WXSERIAL(wxList)::LoadObject(wxObjectInputStream& s) wxList *list = (wxList *)Object(); int number, i; - list->DeleteContents( data_s.Read8() ); + list->DeleteContents( data_s.Read8() != 0 ); list->SetKeyType( (wxKeyType) data_s.Read8() ); number = data_s.Read32(); -- 2.45.2