summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AuDispose.c2
-rw-r--r--AuRead.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/AuDispose.c b/AuDispose.c
index b24d21c..791232a 100644
--- a/AuDispose.c
+++ b/AuDispose.c
@@ -45,7 +45,7 @@ XauDisposeAuth (Xauth *auth)
#endif
(void) free (auth->data);
}
- free ((char *) auth);
+ free (auth);
}
return;
}
diff --git a/AuRead.c b/AuRead.c
index 89430ee..65cabde 100644
--- a/AuRead.c
+++ b/AuRead.c
@@ -95,7 +95,7 @@ XauReadAuth (FILE *auth_file)
free (local.name);
return NULL;
}
- ret = (Xauth *) malloc (sizeof (Xauth));
+ ret = malloc (sizeof (Xauth));
if (!ret) {
free (local.address);
free (local.number);