summaryrefslogtreecommitdiff
path: root/games-puzzle/xlogical/files/xlogical-1.0.8-gcc11.patch
blob: f225d41fea0e2bee84b2d76f6bb65fdc6d6ba3c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/sdl_audio.cpp
+++ b/sdl_audio.cpp
@@ -60,3 +60,3 @@
 
-	for( end=aPath+len; end >= 0; end-=1 )
+	for( end=aPath+len; end >= aPath; end-=1 )
 	{
@@ -64,3 +64,3 @@
 	}
-	for( start=end; start >= 0; start-=1 )
+	for( start=end; start >= aPath; start-=1 )
 	{