aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-09-03 22:22:10 +0000
committerRichard M. Stallman1996-09-03 22:22:10 +0000
commit1d718789f57601190cbfeb0d9c713aa9cc95a70b (patch)
tree5e36594088ab0eec48695aa99edc7bb0e4c16634 /src
parent3b12ce121ea35916272eb8d6eebe836574dd464e (diff)
downloademacs-1d718789f57601190cbfeb0d9c713aa9cc95a70b.tar.gz
emacs-1d718789f57601190cbfeb0d9c713aa9cc95a70b.zip
(OUTPUT_IF, OUTPUT): Cast frame height to int.
Diffstat (limited to 'src')
-rw-r--r--src/term.c4
1 files 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 ();
37#define max(a, b) ((a) > (b) ? (a) : (b)) 37#define max(a, b) ((a) > (b) ? (a) : (b))
38#define min(a, b) ((a) < (b) ? (a) : (b)) 38#define min(a, b) ((a) < (b) ? (a) : (b))
39 39
40#define OUTPUT(a) tputs (a, FRAME_HEIGHT (selected_frame) - curY, cmputc) 40#define OUTPUT(a) tputs (a, (int) (FRAME_HEIGHT (selected_frame) - curY), cmputc)
41#define OUTPUT1(a) tputs (a, 1, cmputc) 41#define OUTPUT1(a) tputs (a, 1, cmputc)
42#define OUTPUTL(a, lines) tputs (a, lines, cmputc) 42#define OUTPUTL(a, lines) tputs (a, lines, cmputc)
43#define OUTPUT_IF(a) { if (a) tputs (a, FRAME_HEIGHT (selected_frame) - curY, cmputc); } 43#define OUTPUT_IF(a) { if (a) tputs (a, (int) (FRAME_HEIGHT (selected_frame) - curY), cmputc); }
44#define OUTPUT1_IF(a) { if (a) tputs (a, 1, cmputc); } 44#define OUTPUT1_IF(a) { if (a) tputs (a, 1, cmputc); }
45 45
46/* Function to use to ring the bell. */ 46/* Function to use to ring the bell. */