]> git.saurik.com Git - wxWidgets.git/commitdiff
Missing typecast from return.
authorUnknown (RO) <nobody@localhost>
Tue, 25 Aug 1998 22:24:50 +0000 (22:24 +0000)
committerUnknown (RO) <nobody@localhost>
Tue, 25 Aug 1998 22:24:50 +0000 (22:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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);