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:
@@ -11,6 +11,8 @@
|
||||
#include <Bitmap.h>
|
||||
#include <Region.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "ui_defines.h"
|
||||
|
||||
#include "CommandStack.h"
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user