X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/60df2e7d97ba2aae14cf05e5fddc491105b41566..f22e0c3c3f90510f1a92ab148f20b2453e338626:/src/common/serbase.cpp diff --git a/src/common/serbase.cpp b/src/common/serbase.cpp index 85388cf0d7..cea2ce5efb 100644 --- a/src/common/serbase.cpp +++ b/src/common/serbase.cpp @@ -32,10 +32,8 @@ IMPLEMENT_DYNAMIC_CLASS(wxObject_Serialize,wxObject) -#if !USE_SHARED_LIBRARY IMPLEMENT_SERIAL_CLASS(wxList, wxObject) IMPLEMENT_SERIAL_CLASS(wxHashTable, wxObject) -#endif void WXSERIAL(wxList)::StoreObject(wxObjectOutputStream& s) { @@ -58,7 +56,7 @@ void WXSERIAL(wxList)::StoreObject(wxObjectOutputStream& s) if (lst_object->GetKeyType() == wxKEY_INTEGER) { while (node) { - data_s.Write32(node->GetKeyInteger()); + data_s.Write32((size_t)node->GetKeyInteger()); node = node->Next(); } } else {