[fdo-commits] r2678 - trunk/Utilities/Common/Src
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Sat Mar 10 00:00:43 EST 2007
Author: jacklee
Date: 2007-03-10 00:00:39 -0500 (Sat, 10 Mar 2007)
New Revision: 2678
Modified:
trunk/Utilities/Common/Src/FdoCommonFilterExecutor.cpp
Log:
Fixed Linux build
Modified: trunk/Utilities/Common/Src/FdoCommonFilterExecutor.cpp
===================================================================
--- trunk/Utilities/Common/Src/FdoCommonFilterExecutor.cpp 2007-03-09 22:17:13 UTC (rev 2677)
+++ trunk/Utilities/Common/Src/FdoCommonFilterExecutor.cpp 2007-03-10 05:00:39 UTC (rev 2678)
@@ -3996,7 +3996,7 @@
}
public:
- FdoCommonFilterOptimizer( ): m_isOptimized(false),m_newFilter(NULL)
+ FdoCommonFilterOptimizer( ): m_isOptimized(false)
{
}
@@ -4084,7 +4084,11 @@
if( ret )
{
// If the condition do not overlap, then replace it with a filter that returns 0 features.
+#ifdef _WIN32
double small_dbl =(double)(-9223372036854775807i64 - 1);
+#else
+ double small_dbl =(double)(-9223372036854775807LL - 1);
+#endif
m_isOptimized = true;
FdoPtr<FdoFgfGeometryFactory> gf = FdoFgfGeometryFactory::GetInstance();
@@ -4126,4 +4130,4 @@
filter->Process( &optimizer );
return optimizer.IsOptimized()?optimizer.OptimizedFilter():FDO_SAFE_ADDREF(filter);
-}
\ No newline at end of file
+}
More information about the fdo-commits
mailing list