[STLPORT]

- Fix compilation with 64 bit gcc

svn path=/branches/cmake-bringup/; revision=50212
This commit is contained in:
Timo Kreuzer 2010-12-29 11:45:57 +00:00
parent 88614730f8
commit 9871a03861

View file

@ -497,6 +497,9 @@ num_put<_CharT, _OutputIter>::do_put(_OutputIter __s, ios_base& __f, _CharT /*__
# pragma warning (disable : 4311) //pointer truncation from 'const void*' to 'unsigned long'
#endif
_OutputIter result =
#ifdef _WIN64 // ReactOS, compilation with 64 bit gcc
_STLP_PRIV __do_put_integer(__s, __f, __c_type.widen('0'), __REINTERPRET_CAST(unsigned _STLP_LONG_LONG,__val));
#else
#ifdef _STLP_LONG_LONG
( sizeof(void*) == sizeof(unsigned long) ) ?
#endif
@ -506,6 +509,7 @@ num_put<_CharT, _OutputIter>::do_put(_OutputIter __s, ios_base& __f, _CharT /*__
_STLP_PRIV __do_put_integer(__s, __f, __c_type.widen('0'), __REINTERPRET_CAST(unsigned _STLP_LONG_LONG,__val))
#endif
;
#endif
#if defined (_STLP_MSVC)
# pragma warning (pop)
#endif