diff options
author | miwi <miwi@FreeBSD.org> | 2007-07-24 03:52:44 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2007-07-24 03:52:44 +0800 |
commit | 20d42aeccf86b687cd96a0d6598a6203bae27ffd (patch) | |
tree | a0184cb1fe19b30dac926a29167950e661c6894b /print/hplip3 | |
parent | 225d2d9862cd465b0a10bae16754def9dba76d72 (diff) | |
download | freebsd-ports-gnome-20d42aeccf86b687cd96a0d6598a6203bae27ffd.tar.gz freebsd-ports-gnome-20d42aeccf86b687cd96a0d6598a6203bae27ffd.tar.zst freebsd-ports-gnome-20d42aeccf86b687cd96a0d6598a6203bae27ffd.zip |
- Fix build on amd64
Submitted by: miwi (via private mail)
Approved by: maintainer
Diffstat (limited to 'print/hplip3')
-rw-r--r-- | print/hplip3/files/patch-io_hpiod_system.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/print/hplip3/files/patch-io_hpiod_system.cpp b/print/hplip3/files/patch-io_hpiod_system.cpp new file mode 100644 index 000000000000..c8fd116dcd6c --- /dev/null +++ b/print/hplip3/files/patch-io_hpiod_system.cpp @@ -0,0 +1,11 @@ +--- io/hpiod/system.cpp.orig Mon Jul 23 14:08:51 2007 ++++ io/hpiod/system.cpp Mon Jul 23 14:09:52 2007 +@@ -633,7 +633,7 @@ + list_for_each(p, &head.list) + { + psa = list_entry(p, SessionAttributes, list); +- lstLen += sprintf(lst+lstLen, "t[%d] d[%d] socket=%d\n", (int)psa->tid, psa->descriptor, psa->sockid); ++ lstLen += sprintf(lst+lstLen, "t[%d] d[%d] socket=%d\n", (unsigned long)psa->tid, psa->descriptor, psa->sockid); + } + + len = sprintf(sendBuf, "msg=PStateResult\nresult-code=%d\nlength=%d\ndata:\n%s", R_AOK, lstLen, lst); |