Fix compilation.

This commit is contained in:
Arkshine 2014-08-04 01:42:19 +02:00
parent 2d07189e38
commit 4b652198f0
2 changed files with 3 additions and 2 deletions

View File

@ -14,12 +14,13 @@
/*
#include <stdio.h>
#include <ctype.h>
#include <wctype.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <ILibrarySys.h>*/
#include <wctype.h>
TextParsers g_TextParser;
ITextParsers *textparsers = &g_TextParser;

View File

@ -238,7 +238,7 @@ static cell AMX_NATIVE_CALL INI_ParseFile(AMX *amx, cell *params)
int length;
const char *file = build_pathname("%s", get_amxstring(amx, params[2], 0, length));
size_t line, col;
unsigned int line, col;
bool result = textparsers->ParseFile_INI(file, p, &line, &col);
*get_amxaddr(amx, params[3]) = line;