[mapserver-commits] r12572 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Sep 22 13:31:08 EDT 2011
Author: tbonfort
Date: 2011-09-22 10:31:08 -0700 (Thu, 22 Sep 2011)
New Revision: 12572
Modified:
trunk/mapserver/mappostgis.c
Log:
fix windows build
Modified: trunk/mapserver/mappostgis.c
===================================================================
--- trunk/mapserver/mappostgis.c 2011-09-22 05:30:49 UTC (rev 12571)
+++ trunk/mapserver/mappostgis.c 2011-09-22 17:31:08 UTC (rev 12572)
@@ -3016,9 +3016,9 @@
int createPostgresTimeCompareSimple(const char *timecol, const char *timestring, char *dest, size_t destsize) {
int timeresolution = msTimeGetResolution(timestring);
char timeStamp[100];
+ char *interval;
if (timeresolution < 0)
return MS_FALSE;
- char *interval;
postgresTimeStampForTimeString(timestring,timeStamp,100);
switch(timeresolution) {
@@ -3071,9 +3071,9 @@
int maxtimeresolution = msTimeGetResolution(maxtime);
char minTimeStamp[100];
char maxTimeStamp[100];
+ char *minTimeInterval,*maxTimeInterval;
if (mintimeresolution < 0 || maxtimeresolution < 0)
return MS_FALSE;
- char *minTimeInterval,*maxTimeInterval;
postgresTimeStampForTimeString(mintime,minTimeStamp,100);
postgresTimeStampForTimeString(maxtime,maxTimeStamp,100);
More information about the mapserver-commits
mailing list