summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-07-24 23:46:27 +0000
committerTim Potter <tpot@samba.org>2003-07-24 23:46:27 +0000
commit77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2 (patch)
tree868eab178760cb8f28489cde34e1328b3f9dfbca /source3/printing
parent60097e0d8d3db07eecf1773d74f8376ea4059b05 (diff)
downloadsamba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.tar.gz
samba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.tar.bz2
samba-77373f1f8e3b2f61e9bbcd9fadfb83257d390cf2.zip
More printf fixes - size_t is long on some architectures.
(This used to be commit ba4d334b822248d8ab929c9568533431603d967e)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/notify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c
index 479d883134..68e54daab6 100644
--- a/source3/printing/notify.c
+++ b/source3/printing/notify.c
@@ -164,7 +164,7 @@ static void print_notify_send_messages_to_printer(const char *printer, unsigned
}
}
- DEBUG(5, ("print_notify_send_messages_to_printer: sending %d print notify message%s to printer %s\n",
+ DEBUG(5, ("print_notify_send_messages_to_printer: sending %l print notify message%s to printer %s\n",
msg_count, msg_count != 1 ? "s" : "", printer));
/*
@@ -272,7 +272,7 @@ in notify_queue\n", msg->type, msg->field, msg->printer));
/* allocate a new msg structure and copy the fields */
if ( !(pnqueue->msg = (SPOOLSS_NOTIFY_MSG*)talloc(send_ctx, sizeof(SPOOLSS_NOTIFY_MSG))) ) {
- DEBUG(0,("send_spoolss_notify2_msg: talloc() of size [%d] failed!\n",
+ DEBUG(0,("send_spoolss_notify2_msg: talloc() of size [%l] failed!\n",
sizeof(SPOOLSS_NOTIFY_MSG)));
return;
}