summaryrefslogtreecommitdiffstats
path: root/source/nmbd
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-06 22:11:08 +0000
committerTim Potter <tpot@samba.org>2003-11-06 22:11:08 +0000
commit0519a7022b4979c0e8ddd4907f4b858a59299c06 (patch)
tree72ef2bd6464e6bd722ac260f56cca3d71bafa008 /source/nmbd
parent3c19ac5f1c9e393780e57028808871dfdc77b170 (diff)
downloadsamba-0519a7022b4979c0e8ddd4907f4b858a59299c06.tar.gz
samba-0519a7022b4979c0e8ddd4907f4b858a59299c06.tar.xz
samba-0519a7022b4979c0e8ddd4907f4b858a59299c06.zip
Final round of printf warnings fixes for the moment.
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd_processlogon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nmbd/nmbd_processlogon.c b/source/nmbd/nmbd_processlogon.c
index 816b3514644..3b021978056 100644
--- a/source/nmbd/nmbd_processlogon.c
+++ b/source/nmbd/nmbd_processlogon.c
@@ -255,7 +255,7 @@ reporting %s domain %s 0x%x ntversion=%x lm_nt token=%x lm_20 token=%x\n",
q = ALIGN4(q, buf);
}
- DEBUG(3,("process_logon_packet: len = %d PTR_DIFF(q, buf) = %d\n", len, PTR_DIFF(q, buf) ));
+ DEBUG(3,("process_logon_packet: len = %d PTR_DIFF(q, buf) = %ld\n", len, (unsigned long)PTR_DIFF(q, buf) ));
if (len - PTR_DIFF(q, buf) > 8) {
/* with NT5 clients we can sometimes