Skip to content

Commit 6c9dc5b

Browse files
-
1 parent 81a5722 commit 6c9dc5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/compv_uselocal.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ CompVUselocal::CompVUselocal(const int& category, const std::string& newLocal)
2222
const char *new_locale = setlocale(category, newLocal.c_str());
2323
#else
2424
// https://man7.org/linux/man-pages/man3/uselocale.3.html
25-
new_local = newlocale(category, newLocal.c_str(), nullptr);
25+
locale_t new_local = newlocale(category, newLocal.c_str(), nullptr);
2626
m_OldLocal = uselocale(new_local);
2727
freelocale(new_local);
2828
#endif

0 commit comments

Comments
 (0)