From 970763423716b34765f7084e73ec23c79371b4ec Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 15 Nov 1995 17:44:17 +0000 Subject: (doprnt1): Add a cast. --- src/doprnt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/doprnt.c') 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++; } -- cgit v1.2.1