Sfoglia il codice sorgente

base: fix a compilation warning in string.h.

legacy
Sam Hocevar sam 12 anni fa
parent
commit
395ab47c41
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/lol/base/string.h

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

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


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


Caricamento…
Annulla
Salva