summaryrefslogtreecommitdiff
path: root/src/fontenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fontenc.c')
-rw-r--r--src/fontenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontenc.c b/src/fontenc.c
index 77c4f89..1a24fc2 100644
--- a/src/fontenc.c
+++ b/src/fontenc.c
@@ -761,7 +761,7 @@ FontEncLoad(const char *encoding_name, const char *filename)
for(alias = encoding->aliases; *alias; alias++)
numaliases++;
}
- new_aliases = (char**)malloc((numaliases+2)*sizeof(char*));
+ new_aliases = malloc((numaliases+2)*sizeof(char*));
if(new_aliases == NULL) {
free(new_name);
return NULL;