packages: dia/dia-wmf-cast.patch (NEW) - try to solve casting issue on x86_64

adamg adamg at pld-linux.org
Sat Dec 31 14:33:15 CET 2011


Author: adamg                        Date: Sat Dec 31 13:33:15 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- try to solve casting issue on x86_64

---- Files affected:
packages/dia:
   dia-wmf-cast.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/dia/dia-wmf-cast.patch
diff -u /dev/null packages/dia/dia-wmf-cast.patch:1.1
--- /dev/null	Sat Dec 31 14:33:15 2011
+++ packages/dia/dia-wmf-cast.patch	Sat Dec 31 14:33:10 2011
@@ -0,0 +1,11 @@
+--- dia-0.97.2/plug-ins/wmf/wmf.cpp~	2011-03-13 14:07:48.000000000 +0100
++++ dia-0.97.2/plug-ins/wmf/wmf.cpp	2011-12-31 14:23:18.047623497 +0100
+@@ -1273,7 +1273,7 @@
+         renderer->use_pango = FALSE;
+ #endif
+     } else {
+-        renderer->hPrintDC = (W32::HDC)user_data;
++        renderer->hPrintDC = *((W32::HDC*)user_data);
+         renderer->use_pango = (user_data != NULL); // always for printing
+     }
+ 
================================================================


More information about the pld-cvs-commit mailing list