You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-emulation/86Box/files/86Box-4.0.1-incompatible-po...

24 lines
826 B

From 13d582b56faf9caca114ec5625b34a7859ecb41f Mon Sep 17 00:00:00 2001
From: OBattler <oubattler@gmail.com>
Date: Fri, 5 Jan 2024 13:01:17 +0100
Subject: [PATCH] Unix: Use proper parentheses to cast the result, not the
flags, fixes #3994.
---
src/unix/unix.c | 4 +---
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/unix/unix.c b/src/unix/unix.c
index e784df38e6..cfa8243135 100644
--- a/src/unix/unix.c
+++ b/src/unix/unix.c
@@ -635,7 +635,7 @@
SDL_MessageBoxData msgdata;
SDL_MessageBoxButtonData msgbtn;
if (!header)
- header = (void *) (flags & MBX_ANSI) ? "86Box" : L"86Box";
+ header = (void *) ((flags & MBX_ANSI) ? "86Box" : L"86Box");
if (header <= (void *) 7168)
header = (void *) plat_get_string((int) header);
if (message <= (void *) 7168)