From 75aaae9963a32735b29a21658ddc55d5da4722d1 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Tue, 31 Dec 2019 10:11:18 +0000 Subject: Fix two more cases of of C99 strtoll() --- libs/pbd/pbd/natsort.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/pbd/pbd/natsort.h b/libs/pbd/pbd/natsort.h index b16ffd6968..ca4fbc170d 100644 --- a/libs/pbd/pbd/natsort.h +++ b/libs/pbd/pbd/natsort.h @@ -98,7 +98,7 @@ numerically_less (const char* a, const char* b) } if (d_a) { - return strtoll (d_a, NULL, 0) * order_of_magnitude (d_a) < strtoll (d_b, NULL, 0) * order_of_magnitude (d_b); + return strtol (d_a, NULL, 0) * order_of_magnitude (d_a) < strtol (d_b, NULL, 0) * order_of_magnitude (d_b); } /* if we reach here, either strings are same length and equal -- cgit v1.2.3