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.
This commit is contained in:
parent
70c240a71b
commit
7654f002ea
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user