=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/vim/Attic/gui_athena.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src/usr.bin/vim/Attic/gui_athena.c 1996/09/21 06:23:03 1.2 +++ src/usr.bin/vim/Attic/gui_athena.c 1996/10/14 03:55:13 1.3 @@ -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 @@ 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 @@ 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),