diff options
Diffstat (limited to 'yhttpd/src/conf/conf.cpp')
| -rw-r--r-- | yhttpd/src/conf/conf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yhttpd/src/conf/conf.cpp b/yhttpd/src/conf/conf.cpp index 25884ca..f987755 100644 --- a/yhttpd/src/conf/conf.cpp +++ b/yhttpd/src/conf/conf.cpp @@ -174,7 +174,7 @@ conf::get_vector(string s_key) vector<string> vec_ret; string s_val = get_elem(s_key); - for (unsigned i_pos = s_val.find(" "); i_pos != string::npos; i_pos = s_val.find(" ")) + for (size_t i_pos = s_val.find(" "); i_pos != string::npos; i_pos = s_val.find(" ")) { vec_ret.push_back(s_val.substr(0, i_pos)); s_val = s_val.substr(i_pos+1); |
