summaryrefslogtreecommitdiff
path: root/src/doprnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/doprnt.c')
-rw-r--r--src/doprnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doprnt.c b/src/doprnt.c
index 3a1e41741c5..d9b6566b1bc 100644
--- a/src/doprnt.c
+++ b/src/doprnt.c
@@ -201,8 +201,8 @@ doprnt1 (lispstrings, buffer, bufsize, format, format_end, nargs, args)
minlen = atoi (&fmtcpy[1]);
if (lispstrings)
{
- string = (char *) XSTRING (((Lisp_Object *) args)[cnt])->data;
- tem = XSTRING (((Lisp_Object *) args)[cnt])->size;
+ string = (char *) ((struct Lisp_String *)args[cnt])->data;
+ tem = ((struct Lisp_String *)args[cnt])->size;
cnt++;
}
else