From 7216263bb779cb4a31d457bae0503fc24e7300e2 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Wed, 11 Oct 2006 23:03:19 +0000 Subject: Shut up compiler warnings Subversion-branch: /trunk/chocolate-doom Subversion-revision: 695 --- textscreen/txt_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'textscreen/txt_table.c') diff --git a/textscreen/txt_table.c b/textscreen/txt_table.c index e23ff843..8b31af24 100644 --- a/textscreen/txt_table.c +++ b/textscreen/txt_table.c @@ -529,8 +529,8 @@ static void TXT_TableMousePress(TXT_UNCAST_ARG(table), int x, int y, int b) if (widget != NULL) { - if (x >= widget->x && x < widget->x + widget->w - && y >= widget->y && y < widget->y + widget->h) + if (x >= widget->x && x < (signed) (widget->x + widget->w) + && y >= widget->y && y < (signed) (widget->y + widget->h)) { // This is the widget that was clicked! -- cgit v1.2.3