diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-05-11 21:12:28 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-05-11 21:12:28 +0200 |
| commit | 4d32afbf88aeff05d50bd5596b15be4b7d778c48 (patch) | |
| tree | af0e7a1d719002470a359c076a4ee931196607ca | |
| parent | f70a51a840f90b1585c64050cde8a298007300f8 (diff) | |
Fix warning introduced a couple of commits ago.
| -rw-r--r-- | src/lib/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 7d0d2bf60..133795e1b 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -791,7 +791,7 @@ careful_string_filter (string s) /* Then remove anything that's not in a very limited character set */ wstring out; wstring const allowed = L"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_%.+"; - for (size_t i = 0; i < transliterated_more.length(); ++i) { + for (int i = 0; i < transliterated_more.length(); ++i) { wchar_t c = transliterated_more[i]; if (allowed.find(c) != string::npos) { out += c; |
