1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

Fix gensec_gssapi compilation for i386

Fixes this:

../source4/auth/gensec/gensec_gssapi.c:1017:3: error: format ‘%ju’ expects argument of type ‘uintmax_t’, but argument 3 has type ‘size_t’ [-Werror=format=]

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Douglas Bagnall 2015-06-26 15:05:48 +12:00 committed by Jeremy Allison
parent 7447abc44c
commit 3e35e0d6f8

View File

@ -1014,8 +1014,8 @@ static NTSTATUS gensec_gssapi_seal_packet(struct gensec_security *gensec_securit
whole_pdu, pdu_length,
mem_ctx, sig);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("gssapi_seal_packet(hdr_signing=%u,sig_size=%ju,"
"data=%ju,pdu=%ju) failed: %s\n",
DEBUG(0, ("gssapi_seal_packet(hdr_signing=%u,sig_size=%zu,"
"data=%zu,pdu=%zu) failed: %s\n",
hdr_signing, sig_size, length, pdu_length,
nt_errstr(status)));
return status;
@ -1045,8 +1045,8 @@ static NTSTATUS gensec_gssapi_unseal_packet(struct gensec_security *gensec_secur
whole_pdu, pdu_length,
sig);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("gssapi_unseal_packet(hdr_signing=%u,sig_size=%ju,"
"data=%ju,pdu=%ju) failed: %s\n",
DEBUG(0, ("gssapi_unseal_packet(hdr_signing=%u,sig_size=%zu,"
"data=%zu,pdu=%zu) failed: %s\n",
hdr_signing, sig->length, length, pdu_length,
nt_errstr(status)));
return status;
@ -1078,7 +1078,7 @@ static NTSTATUS gensec_gssapi_sign_packet(struct gensec_security *gensec_securit
mem_ctx, sig);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("gssapi_sign_packet(hdr_signing=%u,"
"data=%ju,pdu=%ju) failed: %s\n",
"data=%zu,pdu=%zu) failed: %s\n",
hdr_signing, length, pdu_length,
nt_errstr(status)));
return status;
@ -1108,8 +1108,8 @@ static NTSTATUS gensec_gssapi_check_packet(struct gensec_security *gensec_securi
whole_pdu, pdu_length,
sig);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("gssapi_check_packet(hdr_signing=%u,sig_size=%ju,"
"data=%ju,pdu=%ju) failed: %s\n",
DEBUG(0, ("gssapi_check_packet(hdr_signing=%u,sig_size=%zu,"
"data=%zu,pdu=%zu) failed: %s\n",
hdr_signing, sig->length, length, pdu_length,
nt_errstr(status)));
return status;