summaryrefslogtreecommitdiff
path: root/src/xftfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xftfont.c')
-rw-r--r--src/xftfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xftfont.c b/src/xftfont.c
index bc0c56a0fe0..f999ac662ce 100644
--- a/src/xftfont.c
+++ b/src/xftfont.c
@@ -527,7 +527,7 @@ xftfont_prepare_face (FRAME_PTR f, struct face *face)
}
#endif
- xftface_info = malloc (sizeof (struct xftface_info));
+ xftface_info = malloc (sizeof *xftface_info);
if (! xftface_info)
return -1;
xftfont_get_colors (f, face, face->gc, NULL,