Explorar el Código

base: fix a compilation warning in string.h.

legacy
Sam Hocevar sam hace 11 años
padre
commit
395ab47c41
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/lol/base/string.h

+ 1
- 1
src/lol/base/string.h Ver fichero

@@ -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;


Cargando…
Cancelar
Guardar