From d27f8ca73b6c4223ec8f2b8adec1a85cc15ec68d Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Tue, 27 Jul 1999 01:32:50 +0000 Subject: [PATCH] (x_find_ccl_program): Add casting. --- src/xterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index 59a04fd5ea2..ab1c03e4da5 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -12088,7 +12088,8 @@ x_find_ccl_program (fontp) } if (! NILP (list)) { - struct ccl_program *ccl = xmalloc (sizeof (struct ccl_program)); + struct ccl_program *ccl + = (struct ccl_program *) xmalloc (sizeof (struct ccl_program)); if (setup_ccl_program (ccl, XCONS (elt)->cdr) < 0) xfree (ccl); -- 2.39.5