]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/serbase.cpp
wxFileSystem now compiles if wxUSE_HTML (required by wxHTML)
[wxWidgets.git] / src / common / serbase.cpp
index 5bc0943b9e6d0807b88d0c292d64d2a7e7edf56c..cea2ce5efbefb8874248b4d28b738266bd048003 100644 (file)
@@ -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 {