diff options
author | Andreas Schneider <asn@samba.org> | 2017-02-17 09:49:39 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-02-23 03:18:11 +0100 |
commit | 8ac43e0e6ef9236a5c6d2c27ebe24171582c1d49 (patch) | |
tree | 5f5bf44453106ceb4305ffe7363a71d91fdbdcb2 /source3/librpc | |
parent | 2f83cfdb90d687673cfc4be14cd66425fb7f3e76 (diff) | |
download | samba-8ac43e0e6ef9236a5c6d2c27ebe24171582c1d49.tar.gz |
s3:librpc: Fix OM_uint32 comparsion in if-clause
Found by covscan.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12592
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r-- | source3/librpc/crypto/gse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index 792700ede04..99971d30881 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -347,7 +347,7 @@ static NTSTATUS gse_get_client_auth_token(TALLOC_CTX *mem_ctx, break; default: if ((gss_maj == GSS_S_FAILURE) && - (gss_min == KRB5KRB_AP_ERR_TKT_EXPIRED)) { + (gss_min == (OM_uint32)KRB5KRB_AP_ERR_TKT_EXPIRED)) { DBG_NOTICE("Ticket expired\n"); } else { DBG_ERR("gss_init_sec_context failed with [%s]\n", |