There was an error while loading. Please reload this page.
1 parent 81a5722 commit 6c9dc5bCopy full SHA for 6c9dc5b
base/compv_uselocal.cxx
@@ -22,7 +22,7 @@ CompVUselocal::CompVUselocal(const int& category, const std::string& newLocal)
22
const char *new_locale = setlocale(category, newLocal.c_str());
23
#else
24
// https://man7.org/linux/man-pages/man3/uselocale.3.html
25
-new_local = newlocale(category, newLocal.c_str(), nullptr);
+locale_t new_local = newlocale(category, newLocal.c_str(), nullptr);
26
m_OldLocal = uselocale(new_local);
27
freelocale(new_local);
28
#endif
0 commit comments