diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2010-05-10 22:52:42 +0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-05-14 20:02:41 -0700 |
commit | 4af0cf6ef7309df18c81a1fd109a168c767d9f3d (patch) | |
tree | 4993497aa69742ea0b5e130e626c0413fc40005f /src/fontenc.c | |
parent | cfc89d09f1bf0ecbe602578fc80dcf6fe46b1c54 (diff) |
Nuke unnecessary casts
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Reviewed-by: Jamey Sharp <jamey@minilop.net>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/fontenc.c')
-rw-r--r-- | src/fontenc.c | 2 |
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; |