Commit fbd92860360f6ca58b88f78159dd795a6d739335

Ran Benita 2014-07-26T00:13:54

ast-build: use cast instead of ->common Missed in 1b2bb204e0baa2246a6232aea762c1edb00cd44a. Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
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;
 }