summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/natsort.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/natsort.h')
-rw-r--r--libs/pbd/pbd/natsort.h2
1 files changed, 1 insertions, 1 deletions
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