Mercurial > hg > th-libs
changeset 338:b6f2efd0f6f2
Fix format string.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 23 Feb 2016 17:30:07 +0200 |
parents | 5d3601778dff |
children | 46a0fab6ca1f |
files | tests.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests.c Tue Feb 23 16:09:30 2016 +0200 +++ b/tests.c Tue Feb 23 17:30:07 2016 +0200 @@ -326,7 +326,7 @@ for (i1 = 0; i1 < NCOUNT(i_vals64); i1++) { - snprintf(buf, sizeof(buf), "%lld", i_vals64[i1]); + snprintf(buf, sizeof(buf), "%" TH_PRId64, i_vals64[i1]); for (i3 = 0; i3 < NCOUNT(i_types); i3++) for (i2 = 0; i2 < NCOUNT(i_fmts); i2++)