Author: sebor
Date: Mon Sep 17 16:54:20 2007
New Revision: 576630
URL: http://svn.apache.org/viewvc?rev=576630&view=rev
Log:
2007-09-17 Martin Sebor <[EMAIL PROTECTED]>
STDCXX-547
* locale_core.cpp (_C_get_std_facet): Used a safe cast to silence
a Sun C++ 64-bit conversion warning.
Modified:
incubator/stdcxx/trunk/src/locale_core.cpp
Modified: incubator/stdcxx/trunk/src/locale_core.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/locale_core.cpp?rev=576630&r1=576629&r2=576630&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/locale_core.cpp (original)
+++ incubator/stdcxx/trunk/src/locale_core.cpp Mon Sep 17 16:54:20 2007
@@ -22,7 +22,7 @@
* implied. See the License for the specific language governing
* permissions and limitations under the License.
*
- * Copyright 1994-2006 Rogue Wave Software.
+ * Copyright 2001-2007 Rogue Wave Software, Inc.
*
**************************************************************************/
@@ -138,7 +138,7 @@
if (next && *next) {
// compute the facet category from the value of its id
- const int facet_cat = _RW::__rw_get_cat (inx + 1);
+ const int facet_cat = _RW::__rw_get_cat (int (inx + 1));
// determine the locale name of the given category
size_t i = 0;