# HG changeset patch # User Richard M. Stallman # Date 841789330 0 # Node ID 4199e40152fbd669cc62e3739494d29f92995abd # Parent 4c74d7f1cfa63ea4feceafa740b4b27663cdce9e (OUTPUT_IF, OUTPUT): Cast frame height to int. diff -r 4c74d7f1cfa6 -r 4199e40152fb src/term.c --- a/src/term.c Tue Sep 03 22:00:27 1996 +0000 +++ b/src/term.c Tue Sep 03 22:22:10 1996 +0000 @@ -37,10 +37,10 @@ #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. */