summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/gensec_gssapi.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-11-30 02:08:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:52 -0500
commit03d301ead5f702872b8cb948b8cd01b0fa0db5f7 (patch)
treebfecef5d67424c708c0122b591458328f6138ce1 /source4/auth/gensec/gensec_gssapi.c
parentad02b0bee4c8554499e02e93903e64d599c11475 (diff)
downloadsamba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.gz
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.tar.bz2
samba-03d301ead5f702872b8cb948b8cd01b0fa0db5f7.zip
r11967: Fix more 64-bit warnings.
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
Diffstat (limited to 'source4/auth/gensec/gensec_gssapi.c')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index c8a57234e3..b5a2dadd35 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -578,8 +578,8 @@ static NTSTATUS gensec_gssapi_seal_packet(struct gensec_security *gensec_securit
/* Caller must pad to right boundary */
if (output_token.length != (length + sig_length)) {
- DEBUG(1, ("gensec_gssapi_seal_packet: GSS Wrap length [%d] does not match caller length [%d] plus sig size [%d] = [%d]\n",
- output_token.length, length, sig_length, length + sig_length));
+ DEBUG(1, ("gensec_gssapi_seal_packet: GSS Wrap length [%ld] does not match caller length [%ld] plus sig size [%ld] = [%ld]\n",
+ (long)output_token.length, (long)length, (long)sig_length, (long)(length + sig_length)));
return NT_STATUS_INTERNAL_ERROR;
}
@@ -685,8 +685,8 @@ static NTSTATUS gensec_gssapi_sign_packet(struct gensec_security *gensec_securit
/* Caller must pad to right boundary */
if (output_token.length != (length + sig_length)) {
- DEBUG(1, ("gensec_gssapi_sign_packet: GSS Wrap length [%d] does not match caller length [%d] plus sig size [%d] = [%d]\n",
- output_token.length, length, sig_length, length + sig_length));
+ DEBUG(1, ("gensec_gssapi_sign_packet: GSS Wrap length [%ld] does not match caller length [%ld] plus sig size [%ld] = [%ld]\n",
+ (long)output_token.length, (long)length, (long)sig_length, (long)(length + sig_length)));
return NT_STATUS_INTERNAL_ERROR;
}