From: Robert Kessl Date: Thu, 26 Jun 2014 14:51:19 +0000 (+0200) Subject: tableprinter: added forgotten default fmts for s64 a u64 X-Git-Tag: v6.1~17 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=539d744e59ef1b736bebee60613af48a0c4ee3af;p=libucw.git tableprinter: added forgotten default fmts for s64 a u64 --- diff --git a/ucw/table.c b/ucw/table.c index 95944f0c..01dfd30d 100644 --- a/ucw/table.c +++ b/ucw/table.c @@ -205,8 +205,10 @@ void table_col_printf(struct table *tbl, int col, const char *fmt, ...) static const char *table_col_default_fmts[] = { [COL_TYPE_STR] = "%s", [COL_TYPE_INT] = "%d", + [COL_TYPE_S64] = "%lld", [COL_TYPE_INTMAX] = "%jd", [COL_TYPE_UINT] = "%u", + [COL_TYPE_U64] = "%llu", [COL_TYPE_UINTMAX] = "%ju", [COL_TYPE_BOOL] = "%d", [COL_TYPE_DOUBLE] = "%.2lf",