| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/print/ghostscript7-base/files/ |
Upload File : |
--- src/zdps.c.orig 2013-04-30 11:05:10.000000000 +0900
+++ src/zdps.c 2013-04-30 11:05:50.000000000 +0900
@@ -46,19 +46,18 @@
{
os_ptr op = osp;
int code;
- long x, y;
+ int x, y;
check_type(op[-2], t_integer);
check_type(op[-1], t_integer);
check_type(*op, t_integer);
x = op[-1].value.intval;
y = op->value.intval;
- if (x != (int)x || y != (int)y ||
- op[-2].value.intval < -1 ||
+ if (op[-2].value.intval < -1 ||
op[-2].value.intval >= gs_color_select_count
)
return_error(e_rangecheck);
- code = gs_setscreenphase(igs, (int)x, (int)y,
+ code = gs_setscreenphase(igs, x, y,
(gs_color_select_t) op[-2].value.intval);
if (code >= 0)
pop(3);