Fix some compiler warnings

This commit is contained in:
Michael Cook (mackal)
2014-08-10 15:56:58 -04:00
parent c02cb2c343
commit 8940e987c1
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -61,7 +61,7 @@ int main(int argc, char **argv) {
int GetSpellColumns(SharedDatabase *db) {
char errbuf[MYSQL_ERRMSG_SIZE];
char *query = "DESCRIBE spells_new";
const char *query = "DESCRIBE spells_new";
MYSQL_RES *result;
MYSQL_ROW row;
int res = 0;
@@ -234,4 +234,4 @@ void ImportBaseData(SharedDatabase *db) {
}
fclose(f);
}
}