[mapguide-commits] r4737 - in trunk/MgDev/Common:
MapGuideCommon/Services PlatformBase/MapLayer
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Apr 2 12:48:10 EDT 2010
Author: waltweltonlair
Date: 2010-04-02 12:48:10 -0400 (Fri, 02 Apr 2010)
New Revision: 4737
Modified:
trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp
trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp
Log:
Just fix some minor build warnings
Modified: trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp
===================================================================
--- trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp 2010-04-01 22:14:05 UTC (rev 4736)
+++ trunk/MgDev/Common/MapGuideCommon/Services/SiteManager.cpp 2010-04-02 16:48:10 UTC (rev 4737)
@@ -98,7 +98,7 @@
}
// Sleep the thread as thread resume/suspend is not supported on all platforms
- for(size_t i=0;i<sleepTime;i++)
+ for(INT32 i=0;i<sleepTime;i++)
{
ACE_OS::sleep(1);
Modified: trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp
===================================================================
--- trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp 2010-04-01 22:14:05 UTC (rev 4736)
+++ trunk/MgDev/Common/PlatformBase/MapLayer/SelectionBase.cpp 2010-04-02 16:48:10 UTC (rev 4737)
@@ -679,7 +679,7 @@
filterReserved = true;
}
- if ((selectionSize > 0) && ((filter.length() + selText.length() + OR_TEXT_SIZE) >= selectionSize))
+ if ((selectionSize > 0) && (((INT32)filter.length() + (INT32)selText.length() + OR_TEXT_SIZE) >= selectionSize))
{
filters->Add(filter);
filter.clear();
More information about the mapguide-commits
mailing list