diff options
Diffstat (limited to 'vmod.c')
-rw-r--r-- | vmod.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -137,9 +137,9 @@ HandleVModDef(VModDef * stmt, unsigned mergeMode, VModInfo * info) ACTION("Exiting\n"); return False; } - info->defined |= (1 << nextFree); - info->newlyDefined |= (1 << nextFree); - info->available |= (1 << nextFree); + info->defined |= (1U << nextFree); + info->newlyDefined |= (1U << nextFree); + info->available |= (1U << nextFree); names->vmods[nextFree] = stmtName; if (stmt->value == NULL) return True; @@ -217,7 +217,7 @@ LookupVModMask(XPointer priv, if (LookupVModIndex(priv, elem, field, type, val_rtrn)) { unsigned ndx = val_rtrn->uval; - val_rtrn->uval = (1 << (XkbNumModifiers + ndx)); + val_rtrn->uval = (1U << (XkbNumModifiers + ndx)); return True; } return False; |