From: Richard M. Stallman Date: Wed, 15 Nov 1995 17:44:17 +0000 (+0000) Subject: (doprnt1): Add a cast. X-Git-Tag: emacs-19.34~2306 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1df9cc40601b02fdc0f4131514ddc92863a2f264;p=emacs.git (doprnt1): Add a cast. --- diff --git a/src/doprnt.c b/src/doprnt.c index ab3627768ba..07ce5b88ed3 100644 --- a/src/doprnt.c +++ b/src/doprnt.c @@ -200,7 +200,7 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args) minlen = atoi (&fmtcpy[1]); if (lispstrings) { - string = XSTRING (((Lisp_Object *) args)[cnt])->data; + string = (char *) XSTRING (((Lisp_Object *) args)[cnt])->data; tem = XSTRING (((Lisp_Object *) args)[cnt])->size; cnt++; }