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
This commit is contained in:
Bruno G. Albuquerque
2006-07-12 13:58:54 +00:00
parent 17408188c5
commit a3ac8bd9a7
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -11,6 +11,8 @@
#include <Bitmap.h> #include <Bitmap.h>
#include <Region.h> #include <Region.h>
#include <stdio.h>
#include "ui_defines.h" #include "ui_defines.h"
#include "CommandStack.h" #include "CommandStack.h"
@@ -86,7 +86,7 @@ ColorPreview::MessageReceived(BMessage* message)
type_code typeFound; type_code typeFound;
if (message->GetInfo(B_RGB_COLOR_TYPE, 0, if (message->GetInfo(B_RGB_COLOR_TYPE, 0,
&nameFound, &typeFound) != B_OK) { (const char**)&nameFound, &typeFound) != B_OK) {
BControl::MessageReceived(message); BControl::MessageReceived(message);
return; return;
} }