From b31d0e6a7f9776d12fae2731c9d86281b7424bd2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Sikora?= Date: Thu, 28 Dec 2006 18:34:26 +0000 Subject: [PATCH] - stlp-5.1 doesn't need this. Changed files: STLport-type_promotion.patch -> 1.2 --- STLport-type_promotion.patch | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 STLport-type_promotion.patch diff --git a/STLport-type_promotion.patch b/STLport-type_promotion.patch deleted file mode 100644 index 4428574..0000000 --- a/STLport-type_promotion.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- STLport/stlport/stl/_ostream.c.orig 2005-10-05 05:28:51.000000000 +0000 -+++ STLport/stlport/stl/_ostream.c 2006-10-23 14:52:24.000000000 +0000 -@@ -209,7 +209,9 @@ - */ - template - basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>::operator<<(short __x) { -- long __tmp = ((this->flags() & _Basic_ios::basefield) != ios_base::dec)?(unsigned short)__x:__x; -+ long __tmp = __x; -+ if ((this->flags() & _Basic_ios::basefield) != ios_base::dec) -+ __tmp = (unsigned short)__x; - return _M_put_num(*this, __tmp); - } - -@@ -220,7 +222,9 @@ - - template - basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>::operator<<(int __x) { -- long __tmp = ((this->flags() & _Basic_ios::basefield) != ios_base::dec)?(unsigned int)__x:__x; -+ long __tmp = __x; -+ if ((this->flags() & _Basic_ios::basefield) != ios_base::dec) -+ __tmp = (unsigned int)__x; - return _M_put_num(*this, __tmp); - } - -- 2.43.0