Browse Source

base: fix a compilation warning in string.h.

legacy
Sam Hocevar sam 11 years ago
parent
commit
395ab47c41
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/lol/base/string.h

+ 1
- 1
src/lol/base/string.h View File

@@ -145,7 +145,7 @@ public:
{
using namespace std;

int token_len = strlen(token);
int token_len = (int)strlen(token);
for (int i = Count() - token_len; i >= 0; --i)
if (strstr(C() + i, token))
return i;


Loading…
Cancel
Save