From a3ac8bd9a7ef09e96d0836a7378e9b7f001c43a4 Mon Sep 17 00:00:00 2001 From: "Bruno G. Albuquerque" Date: Wed, 12 Jul 2006 13:58:54 +0000 Subject: [PATCH] Quick fix to get it compiling under ZETA. I hope I didn't break it for other platforms. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18115 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/icon-o-matic/CanvasView.cpp | 2 ++ .../generic/gui/panel/color_picker/ColorPreview.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/icon-o-matic/CanvasView.cpp b/src/apps/icon-o-matic/CanvasView.cpp index 279fab3ddc..80b9b45867 100644 --- a/src/apps/icon-o-matic/CanvasView.cpp +++ b/src/apps/icon-o-matic/CanvasView.cpp @@ -11,6 +11,8 @@ #include #include +#include + #include "ui_defines.h" #include "CommandStack.h" 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 cedfd2d3d1..b01b771d4f 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, - &nameFound, &typeFound) != B_OK) { + (const char**)&nameFound, &typeFound) != B_OK) { BControl::MessageReceived(message); return; }