summaryrefslogtreecommitdiff
path: root/usr.bin/vim/gui_athena.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vim/gui_athena.c')
-rw-r--r--usr.bin/vim/gui_athena.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/vim/gui_athena.c b/usr.bin/vim/gui_athena.c
index 781147644f3..d18dfdcea0b 100644
--- a/usr.bin/vim/gui_athena.c
+++ b/usr.bin/vim/gui_athena.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gui_athena.c,v 1.2 1996/09/21 06:23:03 downsj Exp $ */
+/* $OpenBSD: gui_athena.c,v 1.3 1996/10/14 03:55:13 downsj Exp $ */
/* vi:set ts=4 sw=4:
*
* VIM - Vi IMproved by Bram Moolenaar
@@ -474,8 +474,8 @@ gui_mch_get_winsize()
XtNwidth, &total_width,
NULL);
- gui.num_rows = (total_height - base_height) / gui.char_height;
- gui.num_cols = (total_width - base_width) / gui.char_width;
+ gui.num_rows = (int)(total_height - base_height) / gui.char_height;
+ gui.num_cols = (int)(total_width - base_width) / gui.char_width;
Rows = gui.num_rows;
Columns = gui.num_cols;
@@ -1009,11 +1009,11 @@ gui_athena_pullright_action(w, event, args, nargs)
XtNheight, &height,
NULL);
- if (event->xmotion.x >= width || event->xmotion.y >= height)
+ if (event->xmotion.x >= (int)width || event->xmotion.y >= (int)height)
return;
/* We do the pull-off when the pointer is in the rightmost 1/4th */
- if (event->xmotion.x < (width * 3) / 4)
+ if (event->xmotion.x < (int)(width * 3) / 4)
return;
pullright_name = strnsave((char_u *)XtName(menuw),