aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/support.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pam_unix/support.c')
-rw-r--r--modules/pam_unix/support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/support.c b/modules/pam_unix/support.c
index a84ced60..31c5ecb6 100644
--- a/modules/pam_unix/support.c
+++ b/modules/pam_unix/support.c
@@ -687,7 +687,7 @@ int _unix_verify_password(pam_handle_t * pamh, const char *name
retval = get_pwd_hash(pamh, name, &pwd, &salt);
- data_name = (char *) malloc(sizeof(FAIL_PREFIX) + strlen(name));
+ data_name = malloc(sizeof(FAIL_PREFIX) + strlen(name));
if (data_name == NULL) {
pam_syslog(pamh, LOG_CRIT, "no memory for data-name");
} else {