Drag tileset enumeration into C++

This commit is contained in:
Eric Fischer 2016-04-27 12:40:19 -07:00
parent 575072bb2f
commit fb9f3b6068

View File

@ -11,7 +11,7 @@ void enumerate(char *fname) {
exit(EXIT_FAILURE);
}
char *sql = "SELECT zoom_level, tile_column, tile_row from tiles;";
const char *sql = "SELECT zoom_level, tile_column, tile_row from tiles;";
sqlite3_stmt *stmt;
if (sqlite3_prepare_v2(db, sql, -1, &stmt, NULL) != SQLITE_OK) {