diff options
author | Ran Benita <ran234@gmail.com> | 2014-02-08 01:26:35 +0200 |
---|---|---|
committer | Ran Benita <ran234@gmail.com> | 2014-02-08 01:50:22 +0200 |
commit | 6ea15719d1859f0ff7e5bbfe361850c381776683 (patch) | |
tree | 922b913429002c2039ed09fe80a6e9e8df664a6e /src/xkbcomp/ast.h | |
parent | b9b3593cbdeb7f5b02d50cecaba6a0b47d4979ad (diff) | |
download | xorg-lib-libxkbcommon-6ea15719d1859f0ff7e5bbfe361850c381776683.tar.gz |
ast: use more suitable types in a few ast nodes
The int ones cannot be signed (they come as such from the scanner, and
NEGATE is never applied to them).
The uint32_t one is really an atom, but presumably the type was never
converted to xkb_atom_t.
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/ast.h')
-rw-r--r-- | src/xkbcomp/ast.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xkbcomp/ast.h b/src/xkbcomp/ast.h index d6b1109..a141b8f 100644 --- a/src/xkbcomp/ast.h +++ b/src/xkbcomp/ast.h @@ -299,7 +299,7 @@ typedef struct { typedef struct { ParseCommon common; enum merge_mode merge; - int group; + unsigned group; ExprDef *def; } GroupCompatDef; @@ -314,7 +314,7 @@ typedef struct { typedef struct { ParseCommon common; enum merge_mode merge; - int ndx; + unsigned ndx; ExprDef *name; bool virtual; } LedNameDef; |