]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing cast for delete
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 23 Jun 2001 17:00:58 +0000 (17:00 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Sat, 23 Jun 2001 17:00:58 +0000 (17:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/clipbrd.cpp
src/mac/clipbrd.cpp

index cb69904f95b2567f1e7d7fa3cc4d9e6b376a5e03..f493b5bf6531b6dae7e88d5fc22682af9b2f4e85 100644 (file)
@@ -80,7 +80,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len)
           }
           else
           {
-            delete[] data ;
+            delete[] ((char *)data) ;
             data = NULL ;
           }
                        }
index cb69904f95b2567f1e7d7fa3cc4d9e6b376a5e03..f493b5bf6531b6dae7e88d5fc22682af9b2f4e85 100644 (file)
@@ -80,7 +80,7 @@ void *wxGetClipboardData(wxDataFormat dataFormat, long *len)
           }
           else
           {
-            delete[] data ;
+            delete[] ((char *)data) ;
             data = NULL ;
           }
                        }