[mapserver-commits] r7949 - trunk/mapserver

svn at osgeo.org svn at osgeo.org
Fri Oct 3 17:48:09 EDT 2008


Author: pramsey
Date: 2008-10-03 17:48:09 -0400 (Fri, 03 Oct 2008)
New Revision: 7949

Modified:
   trunk/mapserver/mapshape.c
Log:
Wee comment on use of MACRO


Modified: trunk/mapserver/mapshape.c
===================================================================
--- trunk/mapserver/mapshape.c	2008-10-03 20:34:32 UTC (rev 7948)
+++ trunk/mapserver/mapshape.c	2008-10-03 21:48:09 UTC (rev 7949)
@@ -40,6 +40,7 @@
 
 MS_CVSID("$Id$")
 
+/* Only use this macro on 32-bit integers! */
 #define SWAP_FOUR_BYTES(data) \
   ( ((data >> 24) & 0x000000FF) | ((data >>  8) & 0x0000FF00) | \
     ((data <<  8) & 0x00FF0000) | ((data << 24) & 0xFF000000) )



More information about the mapserver-commits mailing list