mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[STLPORT]
- Fix compilation with 64 bit gcc svn path=/branches/cmake-bringup/; revision=50212
This commit is contained in:
parent
88614730f8
commit
9871a03861
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue