diff --git a/src/system/libroot/posix/locale/nl_langinfo.cpp b/src/system/libroot/posix/locale/nl_langinfo.cpp index 8f2c1ee453..d77a048a1f 100644 --- a/src/system/libroot/posix/locale/nl_langinfo.cpp +++ b/src/system/libroot/posix/locale/nl_langinfo.cpp @@ -19,7 +19,7 @@ extern "C" char* nl_langinfo(nl_item item) { if (item < 0 || item >= _NL_LANGINFO_LAST) - return ""; + return const_cast(""); if (gLocaleBackend != NULL) return const_cast(gLocaleBackend->GetLanginfo(item));