From: Richard M. Stallman Date: Tue, 3 Sep 1996 22:22:10 +0000 (+0000) Subject: (OUTPUT_IF, OUTPUT): Cast frame height to int. X-Git-Tag: emacs-20.1~3850 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1d718789f57601190cbfeb0d9c713aa9cc95a70b;p=emacs.git (OUTPUT_IF, OUTPUT): Cast frame height to int. --- 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. */