From 17e488570067cdf499c7ad17ab198508c6f1531d Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 17 Apr 2016 17:24:52 +0100 Subject: [PATCH] xwayland: use the lowercase xnf.*alloc API Signed-off-by: Emil Velikov Reviewed-by: Olivier Fourdan Signed-off-by: Peter Hutterer --- hw/xwayland/xwayland-glamor-xv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xwayland/xwayland-glamor-xv.c b/hw/xwayland/xwayland-glamor-xv.c index 65f93c693..8e0f8da94 100644 --- a/hw/xwayland/xwayland-glamor-xv.c +++ b/hw/xwayland/xwayland-glamor-xv.c @@ -213,7 +213,7 @@ xwl_glamor_xv_add_formats(XvAdaptorPtr pa) void *moreSpace; totFormat *= 2; - moreSpace = XNFreallocarray(pFormat, totFormat, + moreSpace = xnfreallocarray(pFormat, totFormat, sizeof(XvFormatRec)); pFormat = moreSpace; pf = pFormat + numFormat;