summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2013-06-21 10:10:04 +0200
committerMichael Adam <obnox@samba.org>2013-06-21 10:44:17 +0200
commite17bc56cafb6a6338b5edda20f53161c0af63a5c (patch)
treefbec4db35597f6ca729459764a8145864b608cf5
parent88c72fceb1c86752c52651bdea5b116806dd92c5 (diff)
downloadsamba-e17bc56cafb6a6338b5edda20f53161c0af63a5c.tar.gz
samba-e17bc56cafb6a6338b5edda20f53161c0af63a5c.tar.bz2
samba-e17bc56cafb6a6338b5edda20f53161c0af63a5c.zip
s3:utils/net_lookup fix a format-error
clang complains about short being used for unsigned as format-error Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
-rw-r--r--source3/utils/net_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c
index b0d6fe51f0..50226f0ba5 100644
--- a/source3/utils/net_lookup.c
+++ b/source3/utils/net_lookup.c
@@ -321,7 +321,7 @@ static int net_lookup_kdc(struct net_context *c, int argc, const char **argv)
print_sockaddr(addr, sizeof(addr), &kdcs[i].ss);
- d_printf("%s:%hd\n", addr, kdcs[i].port);
+ d_printf("%s:%u\n", addr, kdcs[i].port);
}
return 0;