src/string.cpp

changeset 237
ec77f6e9a19f
parent 236
b58d35dc5d52
child 247
1a2ca515f683
--- a/src/string.cpp	Tue May 21 17:39:27 2013 +0300
+++ b/src/string.cpp	Tue May 21 18:38:06 2013 +0300
@@ -177,7 +177,7 @@
 int String::first (const char* c, int a) const {
 	unsigned int r = 0;
 	unsigned int index = 0;
-	for (; a < len (); a++) {
+	for (; a < (int) len (); a++) {
 		if (m_string[a] == c[r]) {
 			if (r == 0)
 				index = a;

mercurial