diff options
author | Simon Howard | 2006-10-11 23:03:19 +0000 |
---|---|---|
committer | Simon Howard | 2006-10-11 23:03:19 +0000 |
commit | 7216263bb779cb4a31d457bae0503fc24e7300e2 (patch) | |
tree | 6d70eb4d4d04660c27e37a0e83176d50a3014ffa /textscreen/txt_table.c | |
parent | 396de0009d3a045f10e101efc2d3f1b8eb07ab16 (diff) | |
download | chocolate-doom-7216263bb779cb4a31d457bae0503fc24e7300e2.tar.gz chocolate-doom-7216263bb779cb4a31d457bae0503fc24e7300e2.tar.bz2 chocolate-doom-7216263bb779cb4a31d457bae0503fc24e7300e2.zip |
Shut up compiler warnings
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 695
Diffstat (limited to 'textscreen/txt_table.c')
-rw-r--r-- | textscreen/txt_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
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! |