mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fix compilation.
This commit is contained in:
parent
2d07189e38
commit
4b652198f0
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user