static int
FindKeyByLong(KeyNamesInfo * info, unsigned long name)
{
- int i;
+ uint64_t i;
for (i = info->computedMin; i <= info->computedMax; i++)
{
xkb_keycode_t kc,
char *name, unsigned merge, unsigned fileID, Bool reportCollisions)
{
- int old;
+ xkb_keycode_t old;
unsigned long lval;
if (kc > info->arraySize && !ResizeKeyNameArrays(info, kc)) {
MergeIncludedKeycodes(KeyNamesInfo * into, KeyNamesInfo * from,
unsigned merge)
{
- int i;
+ uint64_t i;
char buf[5];
if (from->errorCount > 0)
{
unsigned newMerge;
XkbFile *rtrn;
- KeyNamesInfo included = {NULL};
+ KeyNamesInfo included;
Bool haveSelf;
+ memset(&included, 0, sizeof(included));
+
haveSelf = False;
if ((stmt->file == NULL) && (stmt->map == NULL))
{
if (XkbcAllocNames(xkb, XkbKeyNamesMask | XkbIndicatorNamesMask, 0)
== Success)
{
- int i;
+ uint64_t i;
for (i = info.computedMin; i <= info.computedMax; i++)
LongToKeyName(info.names[i], xkb->names->keys[i].name);
}