* fix warning about deprecated conversion
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39412 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -19,7 +19,7 @@ extern "C" char*
|
|||||||
nl_langinfo(nl_item item)
|
nl_langinfo(nl_item item)
|
||||||
{
|
{
|
||||||
if (item < 0 || item >= _NL_LANGINFO_LAST)
|
if (item < 0 || item >= _NL_LANGINFO_LAST)
|
||||||
return "";
|
return const_cast<char*>("");
|
||||||
|
|
||||||
if (gLocaleBackend != NULL)
|
if (gLocaleBackend != NULL)
|
||||||
return const_cast<char*>(gLocaleBackend->GetLanginfo(item));
|
return const_cast<char*>(gLocaleBackend->GetLanginfo(item));
|
||||||
|
|||||||
Reference in New Issue
Block a user