diff options
-rw-r--r-- | alc/alconfig.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alc/alconfig.cpp b/alc/alconfig.cpp index ceb7d97b..56cad9e0 100644 --- a/alc/alconfig.cpp +++ b/alc/alconfig.cpp @@ -38,7 +38,6 @@ #include <string> #include <utility> -#include "albit.h" #include "alfstream.h" #include "alstring.h" #include "core/helpers.h" @@ -419,7 +418,7 @@ void ReadALConfig() if((configURL=CFBundleCopyResourceURL(mainBundle, CFSTR(".alsoftrc"), CFSTR(""), nullptr)) && CFURLGetFileSystemRepresentation(configURL, true, fileName, sizeof(fileName))) { - f = al::ifstream{al::bit_cast<char*>(fileName)}; + f = al::ifstream{reinterpret_cast<char*>(fileName)}; if(f.is_open()) LoadConfigFromFile(f); } |