slackbuilds_ponce/games/roadfighter/gcc.patch
Matteo Bernardini db912fe465 games/roadfighter: Patch for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2021-04-17 23:57:11 -05:00

11 lines
263 B
Diff

--- src/auxiliar.cpp 2016-06-07 16:18:19.672015830 +0200
+++ src/auxiliar.cpp 2016-06-07 16:18:41.678235683 +0200
@@ -84,7 +84,7 @@
mask=IMG_Load(name);
if (tmp==0 ||
- mask==0) return false;
+ mask==0) return 0;
res=SDL_DisplayFormatAlpha(tmp);