lib: fix Win compile warning

This commit is contained in:
David Anderson 2016-08-26 19:23:42 -07:00
parent c797441941
commit bf71a029a5
1 changed files with 1 additions and 1 deletions

View File

@ -772,7 +772,7 @@ vector<string> 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<n; i++) {
if (iscntrl(name[i])) {
return false;