Fix compilation.
This commit is contained in:
parent
2d07189e38
commit
4b652198f0
|
@ -14,12 +14,13 @@
|
||||||
/*
|
/*
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <wctype.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ILibrarySys.h>*/
|
#include <ILibrarySys.h>*/
|
||||||
|
|
||||||
|
#include <wctype.h>
|
||||||
|
|
||||||
TextParsers g_TextParser;
|
TextParsers g_TextParser;
|
||||||
ITextParsers *textparsers = &g_TextParser;
|
ITextParsers *textparsers = &g_TextParser;
|
||||||
|
|
||||||
|
|
|
@ -238,7 +238,7 @@ static cell AMX_NATIVE_CALL INI_ParseFile(AMX *amx, cell *params)
|
||||||
int length;
|
int length;
|
||||||
const char *file = build_pathname("%s", get_amxstring(amx, params[2], 0, 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);
|
bool result = textparsers->ParseFile_INI(file, p, &line, &col);
|
||||||
|
|
||||||
*get_amxaddr(amx, params[3]) = line;
|
*get_amxaddr(amx, params[3]) = line;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user