Unix: Use proper parentheses to cast the result, not the flags, fixes #3994.
This commit is contained in:
@@ -644,10 +644,8 @@ ui_msgbox_header(int flags, void *header, void *message)
|
|||||||
SDL_MessageBoxData msgdata;
|
SDL_MessageBoxData msgdata;
|
||||||
SDL_MessageBoxButtonData msgbtn;
|
SDL_MessageBoxButtonData msgbtn;
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (!header)
|
if (!header)
|
||||||
header = (void *) (flags & MBX_ANSI) ? "86Box" : L"86Box";
|
header = (void *) ((flags & MBX_ANSI) ? "86Box" : L"86Box");
|
||||||
#endif
|
|
||||||
if (header <= (void *) 7168)
|
if (header <= (void *) 7168)
|
||||||
header = (void *) plat_get_string((uintptr_t) header);
|
header = (void *) plat_get_string((uintptr_t) header);
|
||||||
if (message <= (void *) 7168)
|
if (message <= (void *) 7168)
|
||||||
|
Reference in New Issue
Block a user