Commit 6660ec1b authored by Davis King's avatar Davis King

Minor change to avoid compiler error in visual studio.

parent d1cf19fc
......@@ -133,7 +133,7 @@ namespace dlib
name = name_buf(i,"");
else
name = cast_to_string(i);
max_name_length = std::max(max_name_length, name.size());
max_name_length = std::max<unsigned long>(max_name_length, name.size());
}
for (int i = 0; i < TIME_SLOTS; ++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