jan: thuban/libraries/thuban gdalwarp.cpp,1.1,1.1.2.1
cvs@intevation.de
cvs at intevation.de
Thu Mar 10 08:51:45 CET 2005
Author: jan
Update of /thubanrepository/thuban/libraries/thuban
In directory doto:/tmp/cvs-serv19467
Modified Files:
Tag: thuban-1-0-branch
gdalwarp.cpp
Log Message:
(MFILENAME): Fixed macro
to compile on amd64 with gcc4 (int/long). Thanks to Andreas Jochens
for submitting this patch. This fixes Debian bug #298403.
Index: gdalwarp.cpp
===================================================================
RCS file: /thubanrepository/thuban/libraries/thuban/gdalwarp.cpp,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- gdalwarp.cpp 19 Aug 2003 21:32:24 -0000 1.1
+++ gdalwarp.cpp 10 Mar 2005 07:51:43 -0000 1.1.2.1
@@ -30,6 +30,11 @@
******************************************************************************
*
* $Log$
+ * Revision 1.1.2.1 2005/03/10 07:51:43 jan
+ * (MFILENAME): Fixed macro
+ * to compile on amd64 with gcc4 (int/long). Thanks to Andreas Jochens
+ * for submitting this patch. This fixes Debian bug #298403.
+ *
* Revision 1.1 2003/08/19 21:32:24 jan
* These files have been moved here from thuban/extensions/thuban/
* See there in the Attic for the older history.
@@ -106,7 +111,7 @@
*/
#define MFILENAME(name, ptr) \
char name[ 8 + 2 * sizeof( void* ) + 1]; \
-{snprintf( name, sizeof(name), "\3\1\4MFILE%0*x", 2*sizeof(void*), (int)(ptr)); \
+{snprintf( name, sizeof(name), "\3\1\4MFILE%0*lx", 2*sizeof(void*), (long)(ptr)); \
memset( ptr, 0, sizeof( ptr ) );}
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)