summaryrefslogtreecommitdiff
path: root/games-action/xbomber/files/xbomber-101-gcc4.patch
blob: 0ee82d81801bc96ee69b446592ae1a6fac70bd49 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/bomber.c	2006-01-28 12:06:34.000000000 -0700
+++ b/bomber.c	2006-01-28 12:06:46.000000000 -0700
@@ -1699,7 +1699,7 @@
 }
 void addtail(void *header,void *entry)
 {
-	while(((list *)header)->next) ((list *)header)=((list *)header)->next;
+	while(((list *)header)->next) header=((list *)header)->next;
 	((list *)header)->next=entry;
 	((list *)entry)->next=0;
 }