Browse Source

fix win build prob

David Rose 24 years ago
parent
commit
095e4c94af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/express/dcast.cxx

+ 1 - 1
panda/src/express/dcast.cxx

@@ -37,7 +37,7 @@ _dcast_verify(TypeHandle want_handle, size_t want_size,
   if (get_verify_dcast()) {
     if ((ptr == (const TypedObject *)NULL)
 #if defined(_DEBUG) && defined(_WIN32)
-        || IsBadWritePtr(ptr, want_size)
+        || IsBadWritePtr((TypedObject *)ptr, want_size)
 #endif
         ) {
       express_cat->warning()