X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f4a0c5be34be837210768501c13dbcff81e533c..634903fd0431c5f09372a9ad99005cb4b2c5cd34:/src/common/resource.cpp diff --git a/src/common/resource.cpp b/src/common/resource.cpp index 7b8918622c..347446ea8b 100644 --- a/src/common/resource.cpp +++ b/src/common/resource.cpp @@ -2173,7 +2173,7 @@ wxBitmap wxResourceCreateBitmap(const wxString& resource, wxResourceTable *table "Forgot to use wxResourceLoadBitmapData?"), (const char*) name); return wxNullBitmap; } - return wxBitmap(item->GetValue1()); + return wxBitmap((char **)item->GetValue1()); #else wxLogWarning(_("No XPM facility available!")); #endif