X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Ftable-test.c;h=c13ae2e369e4471cf64f94ac50286a48876e4add;hb=db2e817025638b9738e5ff8f8f5ccc1fbf68a2f3;hp=b9d1bfe506be35efe465438623a385382d341872;hpb=bcccb399f05d8b2cf90a1df330cb0a4b032ae8c8;p=libucw.git diff --git a/ucw/table-test.c b/ucw/table-test.c index b9d1bfe5..c13ae2e3 100644 --- a/ucw/table-test.c +++ b/ucw/table-test.c @@ -79,7 +79,7 @@ static void do_print1(struct table *test_tbl) table_col_printf(test_tbl, test_col2_uint, "XXX-%u", 22222); table_col_bool(test_tbl, test_col3_bool, 1); table_col_double(test_tbl, test_col4_double, 1.5); - table_col_size(test_tbl, test_col5_size, (1024LU*1024LU*1024LU*5LU)); + table_col_size(test_tbl, test_col5_size, (1024LLU*1024LLU*1024LLU*5LLU)); table_col_timestamp(test_tbl, test_col6_time, 1404305876); table_end_row(test_tbl); @@ -88,7 +88,7 @@ static void do_print1(struct table *test_tbl) table_col_uint(test_tbl, test_col2_uint, 100); table_col_bool(test_tbl, test_col3_bool, 0); table_col_double(test_tbl, test_col4_double, 1.5); - table_col_size(test_tbl, test_col5_size, (1024LU*1024LU*1024LU*2LU)); + table_col_size(test_tbl, test_col5_size, (1024LLU*1024LLU*1024LLU*2LLU)); table_col_timestamp(test_tbl, test_col6_time, 1404305909); table_end_row(test_tbl); }