From: Ulya Trofimovich Date: Fri, 12 Jul 2019 13:57:38 +0000 (+0100) Subject: Fixed test (added forgotten qualification after moving functions into 're2c' namespace). X-Git-Tag: 1.2~41 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7b9dee19084c1688c76890d8d5ff54db22399973;p=re2c Fixed test (added forgotten qualification after moving functions into 're2c' namespace). --- diff --git a/src/test/s_to_n32_unsafe/test.cc b/src/test/s_to_n32_unsafe/test.cc index 488dab1f..a1f87770 100644 --- a/src/test/s_to_n32_unsafe/test.cc +++ b/src/test/s_to_n32_unsafe/test.cc @@ -31,7 +31,7 @@ static int32_t test_u (uint64_t i) char * const s_end = s + DIGITS; char * const s_start = u64_to_s_fastest_ever (i, s_end); uint32_t u = i == 0; // not equal to i - if (s_to_u32_unsafe (s_start, s_end, u) && u != i) + if (re2c::s_to_u32_unsafe (s_start, s_end, u) && u != i) { fprintf (stderr, "unsigned: expected: %lu, got: %u\n", i, u); return 1; @@ -52,7 +52,7 @@ static int32_t test_i (int64_t i) *--s_start = '-'; } int32_t j = i == 0; // not equal to i - if (s_to_i32_unsafe (s_start, s_end, j) && j != i) + if (re2c::s_to_i32_unsafe (s_start, s_end, j) && j != i) { fprintf (stderr, "signed: expected: %ld, got: %d\n", i, j); return 1;