opnsense-ports/security/pft/files/patch-pjlsession.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
359 B
C++

--- pjlsession.cpp.orig Sun May 22 14:06:23 2005
+++ pjlsession.cpp Sun May 22 14:06:52 2005
@@ -871,7 +871,7 @@
#endif //_DEBUG
throw ExInvalid();
} else {
- snprintf(numb,49,"%lu",statbuf.st_size);
+ snprintf(numb,49,"%llu",statbuf.st_size);
connection.clear();
connection.sendbuf.set(PJL_START);
connection.sendbuf.append(PJL_FSDOWNLOAD);