From 8eabf67e1e4868e1f5b30ef275a68764112a7b4d Mon Sep 17 00:00:00 2001 From: Christian Jullien Date: Sat, 12 Nov 2022 06:55:39 +0100 Subject: [PATCH] Fix typo in tst_strtoll_strtoull. The wrong function was called for unsigned long long type. --- tests/tests2/119_random_stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests2/119_random_stuff.c b/tests/tests2/119_random_stuff.c index cbeeaa86..ccd449a9 100644 --- a/tests/tests2/119_random_stuff.c +++ b/tests/tests2/119_random_stuff.c @@ -117,7 +117,7 @@ void tst_strtoll_strtoull(void) } { - unsigned long long x = strtoll("0x100000000", NULL, 0); + unsigned long long x = strtoull("0x100000000", NULL, 0); x = (x >> shift); if (x != 1) { printf ("Windows: strtoull error\n");