08.02.2020, 14:55
For those of you (non-sampctl users) that use community compiler version 3.10.10 (released an hour ago), you will need to modify a_sampdb.inc and change lines 12 and 14:
to:
in order to fix warning 239: literal array/string passed to a non-const parameter.
pawn Code:
native DB:db_open(name[]);
native DBResult:db_query(DB:db, query[]);
pawn Code:
native DB:db_open(const name[]);
native DBResult:db_query(DB:db, const query[]);