diff options
author | Tim Potter <tpot@samba.org> | 2003-07-24 23:46:27 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-07-24 23:46:27 +0000 |
commit | ba4d334b822248d8ab929c9568533431603d967e (patch) | |
tree | 674d2c6c89d5840ac1f02ab71fa1291e87378f2a /source/printing/notify.c | |
parent | b826e8c8980d26e932da55384f109f0fe6a124c7 (diff) | |
download | samba-ba4d334b822248d8ab929c9568533431603d967e.tar.gz |
More printf fixes - size_t is long on some architectures.
Diffstat (limited to 'source/printing/notify.c')
-rw-r--r-- | source/printing/notify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/printing/notify.c b/source/printing/notify.c index 479d883134b..68e54daab69 100644 --- a/source/printing/notify.c +++ b/source/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; } |