diff --git a/src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorPreview.cpp b/src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorPreview.cpp index b01b771d4f..cedfd2d3d1 100644 --- a/src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorPreview.cpp +++ b/src/apps/icon-o-matic/generic/gui/panel/color_picker/ColorPreview.cpp @@ -86,7 +86,7 @@ ColorPreview::MessageReceived(BMessage* message) type_code typeFound; if (message->GetInfo(B_RGB_COLOR_TYPE, 0, - (const char**)&nameFound, &typeFound) != B_OK) { + &nameFound, &typeFound) != B_OK) { BControl::MessageReceived(message); return; }