From 4b652198f080577c9fdc0ef0bdfc4e4103655310 Mon Sep 17 00:00:00 2001 From: Arkshine Date: Mon, 4 Aug 2014 01:42:19 +0200 Subject: [PATCH] Fix compilation. --- amxmodx/CTextParsers.cpp | 3 ++- amxmodx/textparse.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/amxmodx/CTextParsers.cpp b/amxmodx/CTextParsers.cpp index 4e79cc87..5234fed8 100644 --- a/amxmodx/CTextParsers.cpp +++ b/amxmodx/CTextParsers.cpp @@ -14,12 +14,13 @@ /* #include #include -#include #include #include #include #include */ +#include + TextParsers g_TextParser; ITextParsers *textparsers = &g_TextParser; diff --git a/amxmodx/textparse.cpp b/amxmodx/textparse.cpp index e72efed0..f272b6ac 100644 --- a/amxmodx/textparse.cpp +++ b/amxmodx/textparse.cpp @@ -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;