aboutsummaryrefslogtreecommitdiff
path: root/src/StringUtil.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-10-15 09:51:56 (GMT)
committerfluxgen <fluxgen>2002-10-15 09:51:56 (GMT)
commit3566c513b400a5fbc569f7ad6295214529c70c04 (patch)
tree855f4ecab52ff9001ffb0e23ba89fb66dcdd069a /src/StringUtil.cc
parentd342afc87a7a800f266604b23a03fbe8a8be806d (diff)
downloadfluxbox-3566c513b400a5fbc569f7ad6295214529c70c04.zip
fluxbox-3566c513b400a5fbc569f7ad6295214529c70c04.tar.bz2
signed to unsigned
Diffstat (limited to 'src/StringUtil.cc')
-rw-r--r--src/StringUtil.cc4
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
136void toLower(char * const conv) { 136void 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