From bf71a029a5a665d3b7c7e4b07fa9906af9a62c8b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 26 Aug 2016 19:23:42 -0700 Subject: [PATCH] lib: fix Win compile warning --- lib/str_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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