1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/gimp-app/files/patch-plug-ins_print_print-escp2_c
Vanilla I. Shu ea81a2cd2b Upgrade to 1.1.27.
PR:		ports/21945
Submitted by:	trevor
2000-10-13 07:59:48 +00:00

21 lines
581 B
Plaintext

--- plug-ins/print/print-escp2.c.orig Fri Oct 13 01:17:44 2000
+++ plug-ins/print/print-escp2.c Fri Oct 13 01:18:14 2000
@@ -26,6 +26,8 @@
* compile on generic platforms that don't support glib, gimp, gtk, etc.
*/
+#include <sys/types.h>
+
#ifndef WEAVETEST
#include "print.h"
#endif
@@ -4000,7 +4002,7 @@
if (lineoffs[0].v[j] != 0)
fprintf(stderr,
"WARNING: pass %d subpass %d row %d: lineoffs %ld\n",
- w.pass, i, row, lineoffs[0].v[j]);
+ w.pass, i, row, (long)lineoffs[0].v[j]);
lineoffs[0].v[j] = 0;
lineactive[0].v[j] = 0;
}