aboutsummaryrefslogtreecommitdiff
path: root/games/f1spirit/03_gcc6.patch
blob: fbae3bd8327bab1d0c84721e13441345e5057eed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur f1spirit-0.rc9.1615.orig/sources/auxiliar.cpp f1spirit-0.rc9.1615/sources/auxiliar.cpp
--- f1spirit-0.rc9.1615.orig/sources/auxiliar.cpp	2009-02-06 10:54:49.000000000 +0100
+++ f1spirit-0.rc9.1615/sources/auxiliar.cpp	2017-06-23 11:57:14.145689872 +0200
@@ -93,7 +93,7 @@
 
 	if (tmp == 0 ||
 	        mask == 0)
-		return false;
+		return 0;
 
 	res = SDL_DisplayFormatAlpha(tmp);