diff options
author | John Emmas <john@creativepost.co.uk> | 2019-12-31 10:11:18 +0000 |
---|---|---|
committer | John Emmas <john@creativepost.co.uk> | 2019-12-31 10:11:18 +0000 |
commit | 75aaae9963a32735b29a21658ddc55d5da4722d1 (patch) | |
tree | 498494a92b665d88e2a5c7167b701ecdaf7a90b9 /libs | |
parent | def4be728506c8edf710c48cd0891a902dc0a6b9 (diff) |
Fix two more cases of of C99 strtoll()
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pbd/pbd/natsort.h | 2 |
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 |