diff options
author | bde <bde@FreeBSD.org> | 1998-06-30 18:58:28 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-30 18:58:28 +0000 |
commit | a4cb9e4f6a4ff4c2c037a8a0f5b43d6b8ffed34c (patch) | |
tree | fa2d6584bde58766127ff471155d98e1001c2fef /games/sail/sync.c | |
parent | 7c17533fed086a03a32413580f8b5ff08bdb9a63 (diff) | |
download | FreeBSD-src-a4cb9e4f6a4ff4c2c037a8a0f5b43d6b8ffed34c.zip FreeBSD-src-a4cb9e4f6a4ff4c2c037a8a0f5b43d6b8ffed34c.tar.gz |
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.
Diffstat (limited to 'games/sail/sync.c')
-rw-r--r-- | games/sail/sync.c | 2 |
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); |