Browse Source

fix gcc warning

David Rose 18 years ago
parent
commit
ecc75cd0e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/display/windowProperties.I

+ 1 - 1
panda/src/display/windowProperties.I

@@ -831,7 +831,7 @@ has_parent_window() const {
 INLINE void WindowProperties::
 INLINE void WindowProperties::
 clear_parent_window() {
 clear_parent_window() {
   _specified &= ~S_parent_window;
   _specified &= ~S_parent_window;
-  _parent_window=NULL;
+  _parent_window = (size_t)NULL;
 }
 }