diff options
author | Steve Dickson <steved@redhat.com> | 2009-01-28 09:56:10 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-01-28 09:56:10 -0500 |
commit | 5bc80ccd81e0c7ef185de34e7f34a7766bce0e27 (patch) | |
tree | 860a45bee1a630d8f61dc7c99b24e5c1daeb3980 /src/authgss_prot.c | |
parent | 2bb4c8d7ec8a98e1be9133d5901149a81ea9b5d9 (diff) | |
download | ti-rpc-5bc80ccd81e0c7ef185de34e7f34a7766bce0e27.tar.gz |
Removed a number warnings by adding a number of type casts.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/authgss_prot.c')
-rw-r--r-- | src/authgss_prot.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/authgss_prot.c b/src/authgss_prot.c index 97724f1..be0d1a6 100644 --- a/src/authgss_prot.c +++ b/src/authgss_prot.c @@ -176,10 +176,11 @@ xdr_rpc_gss_unwrap_data(XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr, XDR tmpxdrs; gss_buffer_desc databuf, wrapbuf; OM_uint32 maj_stat, min_stat; - u_int seq_num, conf_state, qop_state; + u_int seq_num, qop_state; + int conf_state; bool_t xdr_stat; - if (xdr_func == xdr_void || xdr_ptr == NULL) + if (xdr_func == (xdrproc_t)xdr_void || xdr_ptr == NULL) return (TRUE); memset(&databuf, 0, sizeof(databuf)); |