heimdal: Fix printing a short int into a string
authorAndreas Schneider <asn@samba.org>
Wed, 9 Aug 2017 15:01:09 +0000 (17:01 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 11 Aug 2017 16:08:04 +0000 (18:08 +0200)
commitabd74c3ba5e3ee3f5320bff6ed7dff4fbcb79373
tree0472b7184f914aa5a09fd62bb9a46072a1bfb0ff
parentb2f2ce0acc305f6ec99edf948c5994d7180c08a6
heimdal: Fix printing a short int into a string

The size of portstr is too small to print an integer and we should print
a short anyway.

This fixes building with GCC 7.1

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12930

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Fri Aug 11 18:08:04 CEST 2017 on sn-devel-144
source4/heimdal/lib/krb5/krbhst.c