stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r694649 - /stdcxx/branches/4.2.x/include/rw/_select.h
Date Fri, 12 Sep 2008 08:26:16 GMT
Author: faridz
Date: Fri Sep 12 01:26:15 2008
New Revision: 694649

URL: http://svn.apache.org/viewvc?rev=694649&view=rev
Log:
2008-09-12  Farid Zaripov  <faridz@apache.org>

	STDCXX-968
	STDCXX-1009
	* include/rw/_select.h: Use 1L for select discriminator to avoid
	64-bit migration warnings for converting the integer to pointer.

Modified:
    stdcxx/branches/4.2.x/include/rw/_select.h

Modified: stdcxx/branches/4.2.x/include/rw/_select.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_select.h?rev=694649&r1=694648&r2=694649&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_select.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_select.h Fri Sep 12 01:26:15 2008
@@ -89,7 +89,7 @@
 
 #if !defined (__SUNPRO_CC) || __SUNPRO_CC > 0x530
 #  define _RWSTD_DISPATCH(iter)   \
-       (_TYPENAME _RW::__rw_select_int< iter >::_SelectT (0))
+       (_TYPENAME _RW::__rw_select_int< iter >::_SelectT (1L))
 
 #else
    // working around a SunPro 5.3 a prior bug (PR #28739)



Mime
View raw message