From b95636c52fbb058a39548bcbc4e86456ebbd7b7b Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 19 Dec 2006 23:36:04 +0000 Subject: remove casts from xmalloc() --- console-tools/loadfont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-tools') 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 @@ do_loadtable(int fd, unsigned char *inbuf, int tailsz, int fontsize) 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) { -- cgit v1.1