From: Ran Benita Date: Fri, 25 Jul 2014 21:13:54 +0000 (+0300) Subject: ast-build: use cast instead of ->common X-Git-Tag: xkbcommon-0.4.3~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fbd92860360f6ca58b88f78159dd795a6d739335;p=platform%2Fupstream%2Flibxkbcommon.git ast-build: use cast instead of ->common Missed in 1b2bb204e0baa2246a6232aea762c1edb00cd44a. Signed-off-by: Ran Benita --- diff --git a/src/xkbcomp/ast-build.c b/src/xkbcomp/ast-build.c index 2a28436..b80a8dd 100644 --- a/src/xkbcomp/ast-build.c +++ b/src/xkbcomp/ast-build.c @@ -235,7 +235,7 @@ ExprAppendMultiKeysymList(ExprDef *expr, ExprDef *append) darray_mem(append->keysym_list.syms, 0), numEntries); darray_resize(append->keysym_list.syms, 0); - FreeStmt(&append->common); + FreeStmt((ParseCommon *) &append); return expr; }