Skip to content

Commit ffd3382

Browse files
committed
Mac runner doesn't allow gzopen64 so just use gzopen
1 parent d416e4c commit ffd3382

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

game/game.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ void Game::SetDaemonMode() {
105105
}
106106

107107
LoadError Game::LoadGame(const string &filename_path) {
108-
const auto file = gzopen64(filename_path.c_str(), "rb");
108+
const auto file = gzopen(filename_path.c_str(), "rb");
109109
if (file == nullptr) {
110110
return LoadErrorFileNotFound;
111111
}
@@ -134,7 +134,7 @@ SaveError Game::SaveGame(const string& filename_path) {
134134
return SaveErrorInvalidPath;
135135
}
136136
const auto json = serialise(character);
137-
const auto file = gzopen64(filename.c_str(), "wb9");
137+
const auto file = gzopen(filename.c_str(), "wb9");
138138
if (file == nullptr) {
139139
return SaveErrorInvalidPath;
140140
}

0 commit comments

Comments
 (0)