summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-07-26 00:13:54 +0300
committerRan Benita <ran234@gmail.com>2014-07-26 00:13:54 +0300
commitfbd92860360f6ca58b88f78159dd795a6d739335 (patch)
treef0ac9544c605e62d0d6bac8e0fa10956e00100a9
parent5f5b960c710f6e2a938c8a1507115418d2f5ce71 (diff)
downloadlibxkbcommon-fbd92860360f6ca58b88f78159dd795a6d739335.tar.gz
libxkbcommon-fbd92860360f6ca58b88f78159dd795a6d739335.tar.bz2
libxkbcommon-fbd92860360f6ca58b88f78159dd795a6d739335.zip
ast-build: use cast instead of ->common
Missed in 1b2bb204e0baa2246a6232aea762c1edb00cd44a. Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--src/xkbcomp/ast-build.c2
1 files changed, 1 insertions, 1 deletions
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;
}