Mercurial > hg > th-libs
changeset 340:cde5415c4201
Fix 64bit int tests.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 23 Feb 2016 17:39:14 +0200 |
parents | 46a0fab6ca1f |
children | 1040f51bf770 |
files | tests.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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]); } }