* 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:
parent
040eb824e4
commit
5ae9cf0060
@ -19,7 +19,7 @@ extern "C" char*
|
||||
nl_langinfo(nl_item item)
|
||||
{
|
||||
if (item < 0 || item >= _NL_LANGINFO_LAST)
|
||||
return "";
|
||||
return const_cast<char*>("");
|
||||
|
||||
if (gLocaleBackend != NULL)
|
||||
return const_cast<char*>(gLocaleBackend->GetLanginfo(item));
|
||||
|
Loading…
Reference in New Issue
Block a user