From: <ag...@us...> - 2011-12-03 23:09:32
|
Revision: 2630 http://zoolib.svn.sourceforge.net/zoolib/?rev=2630&view=rev Author: agreen Date: 2011-12-03 23:09:26 +0000 (Sat, 03 Dec 2011) Log Message: ----------- Use __wchar_t, so when we're on VC++ without a native wchar_t things still work. Modified Paths: -------------- trunk/zoolib/source/cxx/zoolib/ZCompare_Integer.h Modified: trunk/zoolib/source/cxx/zoolib/ZCompare_Integer.h =================================================================== --- trunk/zoolib/source/cxx/zoolib/ZCompare_Integer.h 2011-12-03 23:08:57 UTC (rev 2629) +++ trunk/zoolib/source/cxx/zoolib/ZCompare_Integer.h 2011-12-03 23:09:26 UTC (rev 2630) @@ -45,7 +45,7 @@ template <> -inline int sCompare_T(const wchar_t& iL, const wchar_t& iR) +inline int sCompare_T(const __wchar_t& iL, const __wchar_t& iR) { return iL < iR ? -1 : iR < iL ? 1 : 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |