]> mj.ucw.cz Git - libucw.git/commitdiff
Tests: table-test now works on 32-bit architectures
authorMartin Mares <mj@ucw.cz>
Mon, 11 Feb 2019 11:34:59 +0000 (12:34 +0100)
committerMartin Mares <mj@ucw.cz>
Mon, 11 Feb 2019 11:34:59 +0000 (12:34 +0100)
ucw/table-test-2.c

index 01ba0c7d9652a19ca73f918c2ec674032699f90f..4679f59eaaa7fc869b2affef84ab0a657766c902 100644 (file)
@@ -31,7 +31,7 @@ static void do_test(void)
   table_start(tbl, out);
 
   u64 test_time = 1403685533;
-  s64 test_size = 4LU*(1024LU * 1024LU * 1024LU);
+  s64 test_size = 4LLU*(1024LLU * 1024LLU * 1024LLU);
 
   table_col_size(tbl, TEST_COL0_SIZE, test_size);
   table_col_timestamp(tbl, TEST_COL1_TS, test_time);