1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Fix FTBFS with GCC 15
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/1097569
--- penguin-command-1.6.11.orig/src/gfx.c
+++ penguin-command-1.6.11/src/gfx.c
@@ -260,11 +260,11 @@ int DoLinePart (SDL_Surface *Surface, Si
void LinePart(Sint32 X1, Sint32 Y1, Sint32 X2, Sint32 Y2, Sint32 lower, Sint32 upper, Uint32 Color)
{
- lock(Screen);
+ lock();
/* Draw the line */
DoLinePart(Screen, X1, Y1, X2, Y2, lower, upper, Color, &PutPixel);
- unlock(Screen);
+ unlock();
}
void Update()
|