Code

Small fix to emf filter that makes it build using TDM's mingw 4.5.0
authorJasper van de Gronde <th.v.d.gronde@hccnet.nl>
Wed, 4 Aug 2010 06:31:30 +0000 (08:31 +0200)
committerJasper van de Gronde <th.v.d.gronde@hccnet.nl>
Wed, 4 Aug 2010 06:31:30 +0000 (08:31 +0200)
src/extension/internal/emf-win32-inout.cpp

index 9d25f3a7f17bba28443e4e6b7bd78b8eff7f8cc5..0e283b909fde8240d742a93b9669ba4fb0871c3a 100644 (file)
@@ -733,7 +733,7 @@ assert_empty_path(PEMF_CALLBACK_DATA d, const char * /*fun*/)
 
 
 static int CALLBACK
-myEnhMetaFileProc(HDC /*hDC*/, HANDLETABLE * /*lpHTable*/, ENHMETARECORD *lpEMFR, int /*nObj*/, LPARAM lpData)
+myEnhMetaFileProc(HDC /*hDC*/, HANDLETABLE * /*lpHTable*/, ENHMETARECORD const *lpEMFR, int /*nObj*/, LPARAM lpData)
 {
     PEMF_CALLBACK_DATA d;
     SVGOStringStream tmp_outsvg;