opnsense-ports/games/spacejunk/files/patch-src-SFont.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
359 B
C

Clang compatibility
--- src/SFont.c.orig 2013-06-14 01:28:33.767289275 +0400
+++ src/SFont.c 2013-06-14 01:39:06.709113401 +0400
@@ -72,7 +72,7 @@
return -1;
}
-Uint32 searchFirstPixel(SDL_Surface* s,int* X,int* Y,int* MinY){
+void searchFirstPixel(SDL_Surface* s,int* X,int* Y,int* MinY){
Uint32 bgpixel = GetPixel(s, 0, s->h-1);
int x=0;