summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/sail/sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/sail/sync.c b/games/sail/sync.c
index 7eac506..c02bd52 100644
--- a/games/sail/sync.c
+++ b/games/sail/sync.c
@@ -123,7 +123,7 @@ Write(type, ship, isstr, a, b, c, d)
{
if (isstr)
(void) sprintf(sync_bp, "%d %d %d %s\n",
- type, ship->file->index, isstr, a);
+ type, ship->file->index, isstr, (char *)a);
else
(void) sprintf(sync_bp, "%d %d %d %d %d %d %d\n",
type, ship->file->index, isstr, a, b, c, d);
OpenPOWER on IntegriCloud