From 0f26b958d8fbce5637de5248c510b844df92ff3d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 3 Sep 1996 22:23:51 +0000 Subject: [PATCH] (message): Cast size arg to doprnt. --- src/xdisp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xdisp.c b/src/xdisp.c index ab78039032c..532d548b2dd 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -531,10 +531,10 @@ message (m, a1, a2, a3) a[2] = a3; len = doprnt (FRAME_MESSAGE_BUF (f), - FRAME_WIDTH (f), m, (char *)0, 3, a); + (int) FRAME_WIDTH (f), m, (char *)0, 3, a); #else len = doprnt (FRAME_MESSAGE_BUF (f), - FRAME_WIDTH (f), m, (char *)0, 3, &a1); + (int) FRAME_WIDTH (f), m, (char *)0, 3, &a1); #endif /* NO_ARG_ARRAY */ message2 (FRAME_MESSAGE_BUF (f), len); -- 2.39.2