# HG changeset patch # User Matti Hamalainen # Date 1456241954 -7200 # Node ID cde5415c4201c5bf02d3d849b57442322745c323 # Parent 46a0fab6ca1f9e4f3568eb01571e99d25faa827f Fix 64bit int tests. diff -r 46a0fab6ca1f -r cde5415c4201 tests.c --- a/tests.c Tue Feb 23 17:38:59 2016 +0200 +++ b/tests.c Tue Feb 23 17:39:14 2016 +0200 @@ -327,10 +327,11 @@ { snprintf(buf, sizeof(buf), "%" TH_PRId64, i_vals64[i1]); + for (i4 = 0; i4 < NCOUNT(i_mods); i4++) for (i3 = 0; i3 < NCOUNT(i_types); i3++) for (i2 = 0; i2 < NCOUNT(i_fmts); i2++) { - snprintf(buf2, sizeof(buf2), "%sll%s", i_fmts[i2], i_types[i3]); + snprintf(buf2, sizeof(buf2), "%s%sll%s", i_mods[i4], i_fmts[i2], i_types[i3]); test_snprintf(buf, buf2, i_vals64[i1]); } }