diff options
author | Simon Howard | 2006-09-21 16:25:10 +0000 |
---|---|---|
committer | Simon Howard | 2006-09-21 16:25:10 +0000 |
commit | 0cff90defcb069c351fd81bed9e57f3519c70ef7 (patch) | |
tree | 84efa052928e0f13e7851915fd2143f8ec014141 /textscreen/txt_label.c | |
parent | e903ecbffbc1a90f9206dbb49e6727e58889da3d (diff) | |
download | chocolate-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_label.c')
-rw-r--r-- | textscreen/txt_label.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/textscreen/txt_label.c b/textscreen/txt_label.c index 48b38cda..7ae29c3d 100644 --- a/textscreen/txt_label.c +++ b/textscreen/txt_label.c @@ -39,10 +39,10 @@ static void TXT_LabelSizeCalc(TXT_UNCAST_ARG(label)) static void TXT_LabelDrawer(TXT_UNCAST_ARG(label), int selected) { TXT_CAST_ARG(txt_label_t, label); - int x, y; + unsigned int x, y; int origin_x, origin_y; - int align_indent = 0; - int w; + unsigned int align_indent = 0; + unsigned int w; w = label->widget.w; @@ -109,12 +109,13 @@ txt_widget_class_t txt_label_class = NULL, TXT_LabelDestructor, NULL, + NULL, }; void TXT_SetLabel(txt_label_t *label, char *value) { char *p; - int y; + unsigned int y; // Free back the old label |