summaryrefslogtreecommitdiff
path: root/games-action/gltron/files/gltron-0.70-gcc14.patch
blob: 2dc383af5867b779d8b21ad5b5e18fe96a15a640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Fix build with GCC 14

--- a/src/gltron.c
+++ b/src/gltron.c
@@ -10,7 +10,7 @@
 #include "SDL.h"
 
 int main(int argc, char *argv[] ) {
-	initSubsystems(argc, argv);
+	initSubsystems(argc, (const char**)argv);
 	runScript(PATH_SCRIPTS, "main.lua");
   return 0;
 }