From a4cb9e4f6a4ff4c2c037a8a0f5b43d6b8ffed34c Mon Sep 17 00:00:00 2001 From: bde Date: Tue, 30 Jun 1998 18:58:28 +0000 Subject: Fixed printf format errors. Didn't fix gross homemade varargs function Write(). Pointers are passed to it as longs, but it expects them to be passed as ints. The alpha non-fixes made this worse. --- games/sail/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/sail/sync.c') 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); -- cgit v1.1