diff options
author | Tim Potter <tpot@samba.org> | 2003-07-25 04:24:40 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-07-25 04:24:40 +0000 |
commit | 7d833de662b83f026b54a236588da27dd8899630 (patch) | |
tree | a4c1867432592d3732bbc2a366eb6ef7549c64bd /source3/printing | |
parent | 5a9030546420e0bd82b946e779cdd5831ed3d73b (diff) | |
download | samba-7d833de662b83f026b54a236588da27dd8899630.tar.gz samba-7d833de662b83f026b54a236588da27dd8899630.tar.bz2 samba-7d833de662b83f026b54a236588da27dd8899630.zip |
More printf portability fixes. Got caught out by some gcc'isms last
time. )-:
(This used to be commit 59dae1da66a5eb7e128263bd578f167d8746e9f0)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/notify.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/printing/notify.c b/source3/printing/notify.c index 68e54daab6..e2146d5018 100644 --- a/source3/printing/notify.c +++ b/source3/printing/notify.c @@ -164,8 +164,8 @@ static void print_notify_send_messages_to_printer(const char *printer, unsigned } } - 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)); + DEBUG(5, ("print_notify_send_messages_to_printer: sending %lu print notify message%s to printer %s\n", + (unsigned long)msg_count, msg_count != 1 ? "s" : "", printer)); /* * Get the list of PID's to send to. @@ -272,8 +272,8 @@ 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 [%l] failed!\n", - sizeof(SPOOLSS_NOTIFY_MSG))); + DEBUG(0,("send_spoolss_notify2_msg: talloc() of size [%lu] failed!\n", + (unsigned long)sizeof(SPOOLSS_NOTIFY_MSG))); return; } copy_notify2_msg(pnqueue->msg, msg); |