Mercurial > hg > th-libs
changeset 563:7cb58b683677
Fix integer overflow in the test values of 32bit ints.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 06 Jan 2020 21:28:47 +0200 |
parents | 5d2c1bfc04aa |
children | a1dac9eb3f06 |
files | tests.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tests.c Mon Jan 06 12:39:44 2020 +0200 +++ b/tests.c Mon Jan 06 21:28:47 2020 +0200 @@ -595,7 +595,7 @@ int i_vals[] = { 0, -0, 1, -1, 10, -10, 512, -512, -1024, 612342, -612342, 0x1fff, 0x8000000, -123456789, - 4294967295, -2147483648 }; + 2147483647, -2147483648 }; for (i1 = 0; i1 < NCOUNT(i_vals); i1++) {