diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-07-24 23:18:24 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-07-24 23:18:24 +0200 |
| commit | a7cd9cec31952b932ab80fb50cddec28aab74736 (patch) | |
| tree | 041018e7b337d9f9ceb7d1e651af0a0424b21f8b /src/lib/image_filename_sorter.cc | |
| parent | 73ebb92e9df01ba7afb97121b6e2cef6ca13a18e (diff) | |
Diffstat (limited to 'src/lib/image_filename_sorter.cc')
| -rw-r--r-- | src/lib/image_filename_sorter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/image_filename_sorter.cc b/src/lib/image_filename_sorter.cc index 47f46e81d..aeb19917c 100644 --- a/src/lib/image_filename_sorter.cc +++ b/src/lib/image_filename_sorter.cc @@ -36,8 +36,8 @@ ImageFilenameSorter::operator() (boost::filesystem::path a, boost::filesystem::p string an = extract_numbers (a); string bn = extract_numbers (b); - int const anl = an.length (); - int const bnl = bn.length (); + size_t const anl = an.length (); + size_t const bnl = bn.length (); if (anl > bnl) { bn = string(anl - bnl, '0') + bn; |
