| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 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/cups-fxlinuxprint/files/ |
Upload File : |
--- fxlinuxprint.c.orig 2006-03-06 15:19:54.000000000 +0900
+++ fxlinuxprint.c 2014-05-09 10:28:36.000000000 +0900
@@ -24,7 +24,7 @@
#include <fcntl.h>
#define __USE_XOPEN_EXTENDED
#include <signal.h>
-#include <wait.h>
+#include <sys/wait.h>
#include <unistd.h>
#include <cups/cups.h>
#include <cups/ppd.h>
@@ -517,7 +517,7 @@
if (opt->job_type == JOB_SECURITY) {
strcat (pjl, PJLSetHoldType);
if (opt->hold_key[0] != 0x00) {
- if (Decode (opt->hold_key, decode_buff, &decode_len)) {
+ if (Decode ((unsigned char *)opt->hold_key, (unsigned char *)decode_buff, &decode_len)) {
decode_buff[decode_len] = 0;
} else {
strcpy (decode_buff, opt->hold_key);