projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
def4be7
)
Fix two more cases of of C99 strtoll()
author
John Emmas
<john@creativepost.co.uk>
Tue, 31 Dec 2019 10:11:18 +0000
(10:11 +0000)
committer
John Emmas
<john@creativepost.co.uk>
Tue, 31 Dec 2019 10:11:18 +0000
(10:11 +0000)
libs/pbd/pbd/natsort.h
patch
|
blob
|
history
diff --git
a/libs/pbd/pbd/natsort.h
b/libs/pbd/pbd/natsort.h
index b16ffd69686c131a80974c4c76e67ae1f94a25a2..ca4fbc170d820ff84e2b58c7ddc50a58c4784d38 100644
(file)
--- 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 strtol
l (d_a, NULL, 0) * order_of_magnitude (d_a) < strtol
l (d_b, NULL, 0) * order_of_magnitude (d_b);
+ return strtol
(d_a, NULL, 0) * order_of_magnitude (d_a) < strto
l (d_b, NULL, 0) * order_of_magnitude (d_b);
}
/* if we reach here, either strings are same length and equal