summaryrefslogtreecommitdiff
path: root/source4/lib/stream
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-30 02:08:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:52 -0500
commit03d301ead5f702872b8cb948b8cd01b0fa0db5f7 (patch)
treebfecef5d67424c708c0122b591458328f6138ce1 /source4/lib/stream
parentad02b0bee4c8554499e02e93903e64d599c11475 (diff)
downloadsamba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.gz
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.bz2
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.zip
r11967: Fix more 64-bit warnings.
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
Diffstat (limited to 'source4/lib/stream')
-rw-r--r--source4/lib/stream/packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/stream/packet.c b/source4/lib/stream/packet.c
index 54cf662e2e..d8ce332de6 100644
--- a/source4/lib/stream/packet.c
+++ b/source4/lib/stream/packet.c
@@ -337,8 +337,8 @@ next_partial:
if (pc->packet_size > pc->num_read) {
/* the caller made an error */
- DEBUG(0,("Invalid packet_size %u greater than num_read %u\n",
- pc->packet_size, pc->num_read));
+ DEBUG(0,("Invalid packet_size %lu greater than num_read %lu\n",
+ (long)pc->packet_size, (long)pc->num_read));
packet_error(pc, NT_STATUS_INVALID_PARAMETER);
return;
}