[mapserver-commits] r8503 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Thu Feb 5 11:20:16 EST 2009
Author: hobu
Date: 2009-02-05 11:20:16 -0500 (Thu, 05 Feb 2009)
New Revision: 8503
Modified:
trunk/mapserver/mapsde.c
Log:
#2878, the endianness logic was backwards
Modified: trunk/mapserver/mapsde.c
===================================================================
--- trunk/mapserver/mapsde.c 2009-02-05 16:12:44 UTC (rev 8502)
+++ trunk/mapserver/mapsde.c 2009-02-05 16:20:16 UTC (rev 8503)
@@ -1322,9 +1322,9 @@
/* Determine if we are big or little- endian for */
/* working with the encoding */
if( *((unsigned char *) &endian_test) == 1 )
+ sde->bBigEndian = MS_FALSE;
+ else
sde->bBigEndian = MS_TRUE;
- else
- sde->bBigEndian = MS_FALSE;
/* point to the SDE layer information */
/* (note this might actually be in another layer) */
More information about the mapserver-commits
mailing list