]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/objstrm.cpp
Missing typecast from return.
[wxWidgets.git] / src / common / objstrm.cpp
index 824cd28fa666acbfbb802ab8b34e720221a0cf1a..07fa7f9a19b7e8415d7da1ff7b3fe75316ef449e 100644 (file)
@@ -200,7 +200,7 @@ wxObject *wxObjectInputStream::GetChild(int no) const
   wxObjectStreamInfo *info;
 
   if (m_current_info->children_removed >= m_current_info->n_children)
-    return NULL;
+    return (wxObject *) NULL;
 
   node = m_current_info->children.Nth(m_current_info->children_removed+no);