opnsense-ports/print/ghostscript7-base/files/patch-src_iutil.c
Franco Fichtner 5460a9995f */*: sync with upstream
Taken from: FreeBSD
2016-06-18 07:03:58 +02:00

11 lines
351 B
C

--- src/iutil.c.orig 2013-04-30 10:51:05.000000000 +0900
+++ src/iutil.c 2013-04-30 10:51:20.000000000 +0900
@@ -428,7 +428,7 @@
data = (const byte *)(op->value.boolval ? "true" : "false");
break;
case t_integer:
- sprintf(buf, "%ld", op->value.intval);
+ sprintf(buf, "%d", op->value.intval);
break;
case t_string:
check_read(*op);