changeset 11912:bb03a720fd58

(format1): Cast arg of doprnt.
author Karl Heuer <kwzh@gnu.org>
date Thu, 25 May 1995 14:31:30 +0000
parents 3b1903085f2c
children 75213ceb4854
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Thu May 25 14:30:07 1995 +0000
+++ b/src/editfns.c	Thu May 25 14:31:30 1995 +0000
@@ -1917,9 +1917,9 @@
   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);
 }