Commit 99109823 authored by Davis King's avatar Davis King

Minor change to avoid a compiler warning

parent 8ac87abe
...@@ -68,7 +68,7 @@ namespace dlib ...@@ -68,7 +68,7 @@ namespace dlib
public: public:
bool operator()(const std::string& a, const std::string& b) const bool operator()(const std::string& a, const std::string& b) const
{ {
long i = 0; unsigned long i = 0;
while (i < a.size() && i < b.size()) while (i < a.size() && i < b.size())
{ {
const int cha = std::tolower(a[i]); const int cha = std::tolower(a[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment