commit | b95636c52fbb058a39548bcbc4e86456ebbd7b7b | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Tue Dec 19 23:36:04 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Tue Dec 19 23:36:04 2006 +0000 |
tree | 0f82f8e3d225f3bcefdbf7070ae0716f1b309630 | |
parent | 2375d75f3267e6e4370f221fea485eac8e73d402 [diff] |
remove casts from xmalloc()
diff --git a/console-tools/loadfont.c b/console-tools/loadfont.c index 36f0e6d..6aa739b 100644 --- a/console-tools/loadfont.c +++ b/console-tools/loadfont.c
@@ -84,7 +84,7 @@ uint16_t unicode; maxct = tailsz; /* more than enough */ - up = (struct unipair *) xmalloc(maxct * sizeof(struct unipair)); + up = xmalloc(maxct * sizeof(struct unipair)); for (glyph = 0; glyph < fontsize; glyph++) { while (tailsz >= 2) {