Avoid warning.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 28 May 2006 04:01:18 +0000 (04:01 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Sun, 28 May 2006 04:01:18 +0000 (04:01 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@616 959494ce-11ee-0310-bf91-de5d638817bd

daemon/auth-krb5.c

index 07b9cda..5409692 100644 (file)
@@ -460,7 +460,7 @@ static int opensess(struct authhandle *auth)
            }
            free(buf);
        } else {
-           if((buf = krb5_cc_default_name(k5context)) == NULL) {
+           if((buf = (char *)krb5_cc_default_name(k5context)) == NULL) {
                flog(LOG_ERR, "could not get default ccache name");
                return(AUTH_ERR);
            }