[fdo-commits] r672 - trunk/Utilities/SchemaMgr/Src/Sm/Lp

svn_fdo at osgeo.org svn_fdo at osgeo.org
Thu Jan 25 14:02:52 EST 2007


Author: jacklee
Date: 2007-01-25 14:02:51 -0500 (Thu, 25 Jan 2007)
New Revision: 672

Modified:
   trunk/Utilities/SchemaMgr/Src/Sm/Lp/SchemaCollection.cpp
Log:
Fixed Linux build

Modified: trunk/Utilities/SchemaMgr/Src/Sm/Lp/SchemaCollection.cpp
===================================================================
--- trunk/Utilities/SchemaMgr/Src/Sm/Lp/SchemaCollection.cpp	2007-01-25 05:55:51 UTC (rev 671)
+++ trunk/Utilities/SchemaMgr/Src/Sm/Lp/SchemaCollection.cpp	2007-01-25 19:02:51 UTC (rev 672)
@@ -1035,7 +1035,7 @@
 
 					if( timeStr != NULL && *timeStr != '\0' )
 					{
-						char		*fmt = valString.Contains(L":") ? "%4d-%02d-%02d %02d:%02d:%02d" : "%4d-%02d-%02d-%02d-%02d-%02d";
+						const char		*fmt = valString.Contains(L":") ? "%4d-%02d-%02d %02d:%02d:%02d" : "%4d-%02d-%02d-%02d-%02d-%02d";
 						int			year, month, day, hour, minute, seconds;
 
 						year = month = day = hour = minute = seconds = 0;



More information about the fdo-commits mailing list