Adding Herb's compile warning fixes to HEAD.
[tprouty/samba.git] / source / lib / msrpc_use.c
index cf6f63c669f7f15c4487dfd655dce8227026efad..7558a266b3e432c670701a3001b7d2787a62051e 100644 (file)
@@ -148,7 +148,7 @@ static struct msrpc_use *msrpc_find(const char* pipe_name,
                        continue;
                }
                if (!usr_creds->reuse &&
-                   !pwd_compare(&usr_creds->ntc.pwd, &c->cli->usr.ntc.pwd))
+                   !pwd_compare((struct pwd_info *)&usr_creds->ntc.pwd, &c->cli->usr.ntc.pwd))
                {
                        DEBUG(100,("password doesn't match\n"));
                        continue;