diff --git a/lib/str_util.cpp b/lib/str_util.cpp index f4e0589c4f..d652bc4795 100644 --- a/lib/str_util.cpp +++ b/lib/str_util.cpp @@ -772,7 +772,7 @@ vector split(string s, char delim) { // - can't have .. // bool is_valid_filename(const char* name) { - int n = strlen(name); + size_t n = strlen(name); for (int i=0; i