summaryrefslogtreecommitdiffstats
path: root/clib/src/table.c
diff options
context:
space:
mode:
Diffstat (limited to 'clib/src/table.c')
-rw-r--r--clib/src/table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clib/src/table.c b/clib/src/table.c
index ee848cb..82a35aa 100644
--- a/clib/src/table.c
+++ b/clib/src/table.c
@@ -49,7 +49,7 @@
#define TABLE_PAGE_DIVISOR 32
/* ======================================================================= */
-int table_init(table_t * self, const char *name, size_t col_nr)
+int table_init(table_t * self, const char *name, uint32_t col_nr)
{
assert(self != NULL);
assert(name != NULL);
@@ -635,7 +635,7 @@ void table_dump(table_t * self, FILE * out)
}
fprintf(out,
- "table: [ size: %d cols: %d rows: %d name: '%s']\n",
+ "table: [ size: %ld cols: %ld rows: %ld name: '%s']\n",
sizeof(value_t), table_columns(self), table_rows(self),
self->hdr.name);
OpenPOWER on IntegriCloud