Bug#1115705: libsdl3-0: 3.3.x regression: SDL_image's showimage example segfaults on s390x
Pranav P
pranav.p7 at ibm.com
Tue Sep 23 12:02:06 BST 2025
Hi Simon,
Yeah. I have also come to the same conclusion.
Instead of hard coding the values, this was what I had come up with.
diff --git a/src/core/linux/SDL_progressbar.c b/src/core/linux/SDL_progressbar.c
index ac0789b2d..8ec28eba7 100644
--- a/src/core/linux/SDL_progressbar.c
+++ b/src/core/linux/SDL_progressbar.c
@@ -120,8 +120,8 @@ bool DBUS_ApplyWindowProgress(SDL_VideoDevice *_this, SDL_Window *window)
const char *progress_visible_str = "progress-visible";
const char *progress_str = "progress";
- int dbus_type_boolean_str = DBUS_TYPE_BOOLEAN;
- int dbus_type_double_str = DBUS_TYPE_DOUBLE;
+ char dbus_type_boolean_str = DBUS_TYPE_BOOLEAN;
+ char dbus_type_double_str = DBUS_TYPE_DOUBLE;
const int progress_visible = ShouldShowProgress(window->progress_state);
double progress = (double)window->progress_value;
And yes, this works
Thanks,
Pranav
More information about the Pkg-sdl-maintainers
mailing list