summaryrefslogtreecommitdiff
path: root/games/xsoldier/files/patch-main.c
blob: 024c42071e0ea4ffd8a8851f5b16a3c98baa7174 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- main.c.orig
+++ main.c
@@ -33,7 +33,6 @@
 /* DeleteAllStar */
 #include "star.h"
 #include "score.h"
-#include "wait.h"
 #include "graphic.h"
 #include "input.h"
 
@@ -175,7 +174,7 @@
                         i + 1);
                 display[sizeof(display) - 1] = '\0';
                 fprintf(stderr, "truncated to %d chars\n",
-                        sizeof(display) - 1);
+                        (int)sizeof(display) - 1);
               }
               i++;
             }