From: Karl Heuer Date: Thu, 25 May 1995 14:31:30 +0000 (+0000) Subject: (format1): Cast arg of doprnt. X-Git-Tag: emacs-19.34~3946 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea4d2909729d81fe9aa980dc38e0a325634f5e85;p=emacs.git (format1): Cast arg of doprnt. --- diff --git a/src/editfns.c b/src/editfns.c index d61b74422ec..50cf607707d 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1917,9 +1917,9 @@ format1 (string1) args[2] = arg2; args[3] = arg3; args[4] = arg4; - doprnt (buf, sizeof buf, string1, 0, 5, args); + doprnt (buf, sizeof buf, string1, (char *)0, 5, args); #else - doprnt (buf, sizeof buf, string1, 0, 5, &string1 + 1); + doprnt (buf, sizeof buf, string1, (char *)0, 5, &string1 + 1); #endif return build_string (buf); }