summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
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);