diff options
Diffstat (limited to 'wcstol.c')
-rw-r--r-- | wcstol.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -63,7 +63,7 @@ int test_wcstol(void) TEST(l, wcstol(L"00010010001101000101011001111000", 0, 2), 0x12345678, "%ld != %ld"); TEST(l, wcstol(s=L"0xz", &c, 16), 0, "%ld != %ld"); - TEST2(i, c-s, 1, "wrong final position %ld != %ld"); + TEST2(i, c-s, 0, "wrong final position %ld != %ld"); TEST(l, wcstol(s=L"0x1234", &c, 16), 0x1234, "%ld != %ld"); TEST2(i, c-s, 6, "wrong final position %ld != %ld"); |