diff options
author | Jeremy Allison <jra@samba.org> | 2009-02-23 16:23:42 -0800 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-02-24 08:35:17 +0100 |
commit | f0e36527de04d2796097ebd29fba2a25fc2e1c38 (patch) | |
tree | 70dfca3997a0bb10c16c5ab403427207e326d59c /source/nmbd | |
parent | 733d4b54546d6c7c9350cf522d4980877edac6d4 (diff) | |
download | samba-f0e36527de04d2796097ebd29fba2a25fc2e1c38.tar.gz samba-f0e36527de04d2796097ebd29fba2a25fc2e1c38.tar.xz samba-f0e36527de04d2796097ebd29fba2a25fc2e1c38.zip |
More warning fixes for Solaris.
Jeremy.
(cherry picked from commit aea38950ff4865f1d791cd19619fadcd59eaf480)
Diffstat (limited to 'source/nmbd')
-rw-r--r-- | source/nmbd/nmbd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c index 7ea2bd0adb0..7786bef9487 100644 --- a/source/nmbd/nmbd.c +++ b/source/nmbd/nmbd.c @@ -381,18 +381,18 @@ static void msg_nmbd_send_packet(struct messaging_context *msg, const struct sockaddr_storage *pss; const struct in_addr *local_ip; - DEBUG(10, ("Received send_packet from %d\n", procid_to_pid(&src))); + DEBUG(10, ("Received send_packet from %u\n", (unsigned int)procid_to_pid(&src))); if (data->length != sizeof(struct packet_struct)) { - DEBUG(2, ("Discarding invalid packet length from %d\n", - procid_to_pid(&src))); + DEBUG(2, ("Discarding invalid packet length from %u\n", + (unsigned int)procid_to_pid(&src))); return; } if ((p->packet_type != NMB_PACKET) && (p->packet_type != DGRAM_PACKET)) { - DEBUG(2, ("Discarding invalid packet type from %d: %d\n", - procid_to_pid(&src), p->packet_type)); + DEBUG(2, ("Discarding invalid packet type from %u: %d\n", + (unsigned int)procid_to_pid(&src), p->packet_type)); return; } @@ -400,8 +400,8 @@ static void msg_nmbd_send_packet(struct messaging_context *msg, pss = iface_ip(&ss); if (pss == NULL) { - DEBUG(2, ("Could not find ip for packet from %d\n", - procid_to_pid(&src))); + DEBUG(2, ("Could not find ip for packet from %u\n", + (unsigned int)procid_to_pid(&src))); return; } |