Fixed warning for Dano & Haiku builds.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19071 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
436505bb71
commit
463c8198b8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue