summaryrefslogtreecommitdiff
path: root/src/getauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getauth.c')
-rw-r--r--src/getauth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getauth.c b/src/getauth.c
index e127206..09e0e1c 100644
--- a/src/getauth.c
+++ b/src/getauth.c
@@ -70,7 +70,7 @@ _IceGetPoAuthData (
{
*authDataLenRet = entry->auth_data_length;
- if ((*authDataRet = (char *) malloc (entry->auth_data_length)) != NULL)
+ if ((*authDataRet = malloc (entry->auth_data_length)) != NULL)
memcpy (*authDataRet, entry->auth_data, entry->auth_data_length);
}
else
@@ -111,7 +111,7 @@ _IceGetPaAuthData (
{
*authDataLenRet = entry->auth_data_length;
- if ((*authDataRet = (char *) malloc (entry->auth_data_length)) != NULL)
+ if ((*authDataRet = malloc (entry->auth_data_length)) != NULL)
memcpy (*authDataRet, entry->auth_data, entry->auth_data_length);
}
else