From 5ae9cf0060f4d741d23733f79c338e688c4f9c05 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 13 Nov 2010 00:21:23 +0000 Subject: [PATCH] * fix warning about deprecated conversion git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39412 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/locale/nl_langinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));