summaryrefslogtreecommitdiff
path: root/textscreen/txt_table.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_table.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_table.c')
-rw-r--r--textscreen/txt_table.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/textscreen/txt_table.c b/textscreen/txt_table.c
index a063f05d..e0d34cdb 100644
--- a/textscreen/txt_table.c
+++ b/textscreen/txt_table.c
@@ -59,8 +59,8 @@ static int TableRows(txt_table_t *table)
}
static void CalcRowColSizes(txt_table_t *table,
- int *row_heights,
- int *col_widths)
+ unsigned int *row_heights,
+ unsigned int *col_widths)
{
int x, y;
int rows;
@@ -98,8 +98,8 @@ static void CalcRowColSizes(txt_table_t *table,
static void TXT_CalcTableSize(TXT_UNCAST_ARG(table))
{
TXT_CAST_ARG(txt_table_t, table);
- int *column_widths;
- int *row_heights;
+ unsigned int *column_widths;
+ unsigned int *row_heights;
int x, y;
int rows;
@@ -400,8 +400,8 @@ static void LayoutCell(txt_table_t *table, int x, int y, int col_width,
static void TXT_TableLayout(TXT_UNCAST_ARG(table))
{
TXT_CAST_ARG(txt_table_t, table);
- int *column_widths;
- int *row_heights;
+ unsigned int *column_widths;
+ unsigned int *row_heights;
int draw_x, draw_y;
int x, y;
int i;