diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/StringUtil.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StringUtil.cc b/src/StringUtil.cc index d37446a..81c1c23 100644 --- a/src/StringUtil.cc +++ b/src/StringUtil.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: StringUtil.cc,v 1.12 2002/09/15 09:40:51 fluxgen Exp $ | 22 | // $Id: StringUtil.cc,v 1.13 2002/10/15 09:51:56 fluxgen Exp $ |
23 | 23 | ||
24 | #include "StringUtil.hh" | 24 | #include "StringUtil.hh" |
25 | 25 | ||
@@ -134,7 +134,7 @@ int getStringBetween(std::string& out, const char *instr, const char first, cons | |||
134 | } | 134 | } |
135 | 135 | ||
136 | void toLower(char * const conv) { | 136 | void toLower(char * const conv) { |
137 | for (int byte_pos = 0; byte_pos < strlen(conv); ++byte_pos) | 137 | for (size_t byte_pos = 0; byte_pos < strlen(conv); ++byte_pos) |
138 | conv[byte_pos] = tolower(conv[byte_pos]); | 138 | conv[byte_pos] = tolower(conv[byte_pos]); |
139 | } | 139 | } |
140 | 140 | ||