From 1d718789f57601190cbfeb0d9c713aa9cc95a70b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 3 Sep 1996 22:22:10 +0000 Subject: [PATCH] (OUTPUT_IF, OUTPUT): Cast frame height to int. --- src/term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/term.c b/src/term.c index 5515c555be3..351cfd2c37e 100644 --- a/src/term.c +++ b/src/term.c @@ -37,10 +37,10 @@ extern Lisp_Object Fmake_sparse_keymap (); #define max(a, b) ((a) > (b) ? (a) : (b)) #define min(a, b) ((a) < (b) ? (a) : (b)) -#define OUTPUT(a) tputs (a, FRAME_HEIGHT (selected_frame) - curY, cmputc) +#define OUTPUT(a) tputs (a, (int) (FRAME_HEIGHT (selected_frame) - curY), cmputc) #define OUTPUT1(a) tputs (a, 1, cmputc) #define OUTPUTL(a, lines) tputs (a, lines, cmputc) -#define OUTPUT_IF(a) { if (a) tputs (a, FRAME_HEIGHT (selected_frame) - curY, cmputc); } +#define OUTPUT_IF(a) { if (a) tputs (a, (int) (FRAME_HEIGHT (selected_frame) - curY), cmputc); } #define OUTPUT1_IF(a) { if (a) tputs (a, 1, cmputc); } /* Function to use to ring the bell. */ -- 2.39.2