s3: Fix 'assignment differ in signedness' warning
authorTim Prouty <tprouty@samba.org>
Wed, 25 Feb 2009 08:11:31 +0000 (00:11 -0800)
committerTim Prouty <tprouty@samba.org>
Wed, 25 Feb 2009 08:14:23 +0000 (00:14 -0800)
source3/auth/auth_wbc.c

index b0af9ffb1d25ee93f0f76bf0325d43877dd3518c..580c8b550d94a6a944bdeaefa62c484fce477d65 100644 (file)
@@ -74,7 +74,7 @@ static NTSTATUS check_wbc_security(const struct auth_context *auth_context,
                         user_info->internal_username));
                params.level = WBC_AUTH_USER_LEVEL_PLAIN;
 
-               params.password.plaintext = user_info->plaintext_password.data;
+               params.password.plaintext = (char *)user_info->plaintext_password.data;
        } else {
                DEBUG(3,("Checking encrypted password for %s.\n",
                         user_info->internal_username));