From 463c8198b8d2164ef94dc006df12464e2d449526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 16 Oct 2006 11:47:49 +0000 Subject: [PATCH] Fixed warning for Dano & Haiku builds. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19071 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/icon-o-matic/style/SetColorCommand.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/apps/icon-o-matic/style/SetColorCommand.cpp b/src/apps/icon-o-matic/style/SetColorCommand.cpp index 706ba57862..a9be92a79a 100644 --- a/src/apps/icon-o-matic/style/SetColorCommand.cpp +++ b/src/apps/icon-o-matic/style/SetColorCommand.cpp @@ -34,8 +34,12 @@ SetColorCommand::~SetColorCommand() status_t SetColorCommand::InitCheck() { +#ifdef HAIKU_TARGET_PLATFORM_BEOS return fStyle && *(uint32*)&fStyle->Color() != *(uint32*)&fColor ? B_OK : B_NO_INIT; +#else + return fStyle && fStyle->Color() != fColor ? B_OK : B_NO_INIT; +#endif } // Perform