VirtualBox

Changeset 61869 in vbox for trunk/src/VBox/Frontends/Common


Ignore:
Timestamp:
Jun 24, 2016 1:47:59 AM (8 years ago)
Author:
vboxsync
Message:

FE/Common/VBoxKeyboard: Fix printf signed/unsigned mismatches.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/Common/VBoxKeyboard/keyboard.c

    r44797 r61869  
    247247      }
    248248    }
    249     LOG_KB_2(("Matches=%d, seq=%d\n", match, seq));
     249    LOG_KB_2(("Matches=%u, seq=%u\n", match, seq));
    250250    if (   (match > max_score)
    251251        || ((match == max_score) && (seq > max_seq))
     
    258258  }
    259259  /* we're done, report results if necessary */
    260   LOG_KB_1(("Detected layout is \"%s\", matches=%d, seq=%d\n",
     260  LOG_KB_1(("Detected layout is \"%s\", matches=%u, seq=%u\n",
    261261        main_key_tab[kbd_layout].comment, max_score, max_seq));
    262262  return kbd_layout;
     
    380380                    str[1] = shifted;
    381381                }
    382                 LOG_KB_1(("Warning - keycode %d, keysym \"%s\" (0x%x 0x%x) was matched to scancode %d\n",
     382                LOG_KB_1(("Warning - keycode %d, keysym \"%s\" (0x%x 0x%x) was matched to scancode %u\n",
    383383                             keyc, str, unshifted, shifted, scan));
    384384              }
     
    398398        }
    399399    }
    400     LOG_KB_1(("Finished mapping keyboard, matches=%d, entries=%d (excluding 102nd key)\n", matches, entries));
     400    LOG_KB_1(("Finished mapping keyboard, matches=%u, entries=%u (excluding 102nd key)\n", matches, entries));
    401401    if (matches != entries)
    402402    {
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette