summaryrefslogtreecommitdiff
path: root/textscreen/txt_table.c
diff options
context:
space:
mode:
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;