changeset 16094:4199e40152fb

(OUTPUT_IF, OUTPUT): Cast frame height to int.
author Richard M. Stallman <rms@gnu.org>
date Tue, 03 Sep 1996 22:22:10 +0000
parents 4c74d7f1cfa6
children 0c87a74b1650
files src/term.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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.  */