summaryrefslogtreecommitdiff
path: root/textscreen/txt_spinctrl.c
diff options
context:
space:
mode:
authorSimon Howard2006-09-21 16:25:10 +0000
committerSimon Howard2006-09-21 16:25:10 +0000
commit0cff90defcb069c351fd81bed9e57f3519c70ef7 (patch)
tree84efa052928e0f13e7851915fd2143f8ec014141 /textscreen/txt_spinctrl.c
parente903ecbffbc1a90f9206dbb49e6727e58889da3d (diff)
downloadchocolate-doom-0cff90defcb069c351fd81bed9e57f3519c70ef7.tar.gz
chocolate-doom-0cff90defcb069c351fd81bed9e57f3519c70ef7.tar.bz2
chocolate-doom-0cff90defcb069c351fd81bed9e57f3519c70ef7.zip
Fix some warnings in textscreen code.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 645
Diffstat (limited to 'textscreen/txt_spinctrl.c')
-rw-r--r--textscreen/txt_spinctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/textscreen/txt_spinctrl.c b/textscreen/txt_spinctrl.c
index 69c2e98f..469d60d2 100644
--- a/textscreen/txt_spinctrl.c
+++ b/textscreen/txt_spinctrl.c
@@ -73,7 +73,7 @@ static void TXT_SpinControlDrawer(TXT_UNCAST_ARG(spincontrol), int selected)
{
TXT_CAST_ARG(txt_spincontrol_t, spincontrol);
char buf[20];
- int i;
+ unsigned int i;
TXT_FGColor(TXT_COLOR_BRIGHT_WHITE);
TXT_BGColor(TXT_COLOR_BLUE, 0);
@@ -143,7 +143,7 @@ static void TXT_SpinControlMousePress(TXT_UNCAST_ARG(spincontrol),
int x, int y, int b)
{
TXT_CAST_ARG(txt_spincontrol_t, spincontrol);
- int rel_x;
+ unsigned int rel_x;
rel_x = x - spincontrol->widget.x;