summaryrefslogtreecommitdiff
path: root/src/utils/physfstools.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/physfstools.cpp')
-rw-r--r--src/utils/physfstools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/physfstools.cpp b/src/utils/physfstools.cpp
index 6f4345c36..1e2ef1e2e 100644
--- a/src/utils/physfstools.cpp
+++ b/src/utils/physfstools.cpp
@@ -54,7 +54,7 @@ namespace PhysFs
_exit(1);
}
updateDirSeparator();
- atexit((void(*)()) PHYSFS_deinit);
+ atexit(reinterpret_cast<void(*)()>(PHYSFS_deinit));
}
void updateDirSeparator()