summaryrefslogtreecommitdiffstats
path: root/libnetdata/tests/test_str2ld.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetdata/tests/test_str2ld.c')
-rw-r--r--libnetdata/tests/test_str2ld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetdata/tests/test_str2ld.c b/libnetdata/tests/test_str2ld.c
index 01d8677f..8b97a70f 100644
--- a/libnetdata/tests/test_str2ld.c
+++ b/libnetdata/tests/test_str2ld.c
@@ -24,8 +24,8 @@ static void test_str2ld(void **state)
for (int i = 0; values[i]; i++) {
char *e_mine = "hello", *e_sys = "world";
- LONG_DOUBLE mine = str2ld(values[i], &e_mine);
- LONG_DOUBLE sys = strtold(values[i], &e_sys);
+ NETDATA_DOUBLE mine = str2ndd(values[i], &e_mine);
+ NETDATA_DOUBLE sys = strtondd(values[i], &e_sys);
if (isnan(mine))
assert_true(isnan(sys));