[fdo-commits] r2512 - trunk/Fdo/Unmanaged/Src/Fdo/Parse
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Wed Feb 14 03:06:26 EST 2007
Author: warmerdam
Date: 2007-02-14 03:06:26 -0500 (Wed, 14 Feb 2007)
New Revision: 2512
Modified:
trunk/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp
Log:
use INT_MIN/MAX for 32bit ranges (64bit ticket #6)
Modified: trunk/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp
===================================================================
--- trunk/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp 2007-02-14 08:02:15 UTC (rev 2511)
+++ trunk/Fdo/Unmanaged/Src/Fdo/Parse/Lex.cpp 2007-02-14 08:06:26 UTC (rev 2512)
@@ -877,7 +877,7 @@
if ( checkStr == str ) {
// String converted to in64 ok.
- if (i64num <= LONG_MAX && i64num >= LONG_MIN)
+ if (i64num <= INT_MAX && i64num >= INT_MIN)
{
// In Int32 range so wrap in int32
try
More information about the fdo-commits
mailing list