From 1df9cc40601b02fdc0f4131514ddc92863a2f264 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 15 Nov 1995 17:44:17 +0000 Subject: [PATCH] (doprnt1): Add a cast. --- src/doprnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; } -- 2.39.2