xwayland: use the lowercase xnf.*alloc API

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Emil Velikov 2016-04-17 17:24:52 +01:00 committed by Peter Hutterer
parent cdd0352ba0
commit 17e4885700

View File

@ -213,7 +213,7 @@ xwl_glamor_xv_add_formats(XvAdaptorPtr pa)
void *moreSpace; void *moreSpace;
totFormat *= 2; totFormat *= 2;
moreSpace = XNFreallocarray(pFormat, totFormat, moreSpace = xnfreallocarray(pFormat, totFormat,
sizeof(XvFormatRec)); sizeof(XvFormatRec));
pFormat = moreSpace; pFormat = moreSpace;
pf = pFormat + numFormat; pf = pFormat + numFormat;