Skip to content

Commit 350931a

Browse files
committed
xkbcomp: Fix compat group index
1 parent f2dd030 commit 350931a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/xkbcomp/ast-build.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ SymbolsCreate(xkb_atom_t keyName, VarDef *symbols)
318318
}
319319

320320
GroupCompatDef *
321-
GroupCompatCreate(unsigned group, ExprDef *val)
321+
GroupCompatCreate(int64_t group, ExprDef *val)
322322
{
323323
GroupCompatDef *def = malloc(sizeof(*def));
324324
if (!def)

src/xkbcomp/ast-build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ SymbolsDef *
7676
SymbolsCreate(xkb_atom_t keyName, VarDef *symbols);
7777

7878
GroupCompatDef *
79-
GroupCompatCreate(unsigned group, ExprDef *def);
79+
GroupCompatCreate(int64_t group, ExprDef *def);
8080

8181
ModMapDef *
8282
ModMapCreate(xkb_atom_t modifier, ExprDef *keys);

src/xkbcomp/ast.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ typedef struct {
251251
typedef struct {
252252
ParseCommon common;
253253
enum merge_mode merge;
254-
unsigned group;
254+
int64_t group;
255255
ExprDef *def;
256256
} GroupCompatDef;
257257

0 commit comments

Comments
 (0)