[mapserver-commits] r7533 - trunk/mapserver
svn at osgeo.org
svn at osgeo.org
Sat Apr 26 17:59:26 EDT 2008
Author: pramsey
Date: 2008-04-26 17:59:26 -0400 (Sat, 26 Apr 2008)
New Revision: 7533
Modified:
trunk/mapserver/mapshape.c
Log:
One last declaration move to be ISO compliant.
Modified: trunk/mapserver/mapshape.c
===================================================================
--- trunk/mapserver/mapshape.c 2008-04-26 21:48:04 UTC (rev 7532)
+++ trunk/mapserver/mapshape.c 2008-04-26 21:59:26 UTC (rev 7533)
@@ -1101,10 +1101,11 @@
int msSHXLoadAll( SHPHandle psSHP ) {
+ int i;
uchar *pabyBuf;
+
pabyBuf = (uchar *) malloc(8 * psSHP->nRecords );
fread( pabyBuf, 8, psSHP->nRecords, psSHP->fpSHX );
- int i;
for( i = 0; i < psSHP->nRecords; i++ ) {
ms_int32 nOffset, nLength;
More information about the mapserver-commits
mailing list