- Fix build on amd64
Submitted by: miwi (via private mail) Approved by: maintainer
This commit is contained in:
parent
2d4141bb1d
commit
936c86d3c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=196146
2 changed files with 22 additions and 0 deletions
11
print/hplip/files/patch-io_hpiod_system.cpp
Normal file
11
print/hplip/files/patch-io_hpiod_system.cpp
Normal file
|
@ -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);
|
11
print/hplip3/files/patch-io_hpiod_system.cpp
Normal file
11
print/hplip3/files/patch-io_hpiod_system.cpp
Normal file
|
@ -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);
|
Loading…
Reference in a new issue