[fdo-commits] r832 - branches/3.2.x/Utilities/Common/Src

svn_fdo at osgeo.org svn_fdo at osgeo.org
Fri Mar 9 20:41:10 EST 2007


Author: jacklee
Date: 2007-03-09 20:41:10 -0500 (Fri, 09 Mar 2007)
New Revision: 832

Modified:
   branches/3.2.x/Utilities/Common/Src/FdoCommonFilterExecutor.cpp
Log:
Fixed Linux build

Modified: branches/3.2.x/Utilities/Common/Src/FdoCommonFilterExecutor.cpp
===================================================================
--- branches/3.2.x/Utilities/Common/Src/FdoCommonFilterExecutor.cpp	2007-03-09 18:32:29 UTC (rev 831)
+++ branches/3.2.x/Utilities/Common/Src/FdoCommonFilterExecutor.cpp	2007-03-10 01:41:10 UTC (rev 832)
@@ -3995,7 +3995,7 @@
         }
     public:
 
-		FdoCommonFilterOptimizer( ): m_isOptimized(false),m_newFilter(NULL)
+		FdoCommonFilterOptimizer( ): m_isOptimized(false)
         {
         }
 
@@ -4083,7 +4083,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();
 
@@ -4125,4 +4129,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