X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..cbf97a6cd655d44e6f7b1ffaf35be0c392532ae7:/src/common/serbase.cpp diff --git a/src/common/serbase.cpp b/src/common/serbase.cpp index 5bc0943b9e..cea2ce5efb 100644 --- a/src/common/serbase.cpp +++ b/src/common/serbase.cpp @@ -56,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 {