X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..ca9047f7ad39a108ad7d71cffdf933c947c91554:/src/osx/core/hid.cpp?ds=sidebyside diff --git a/src/osx/core/hid.cpp b/src/osx/core/hid.cpp index 2a35960274..3bc287cb17 100644 --- a/src/osx/core/hid.cpp +++ b/src/osx/core/hid.cpp @@ -478,8 +478,8 @@ void wxHIDKeyboard::BuildCookies(CFArrayRef Array) void wxHIDKeyboard::DoBuildCookies(CFArrayRef Array) { //Now go through each possible cookie - int i, - nUsage; + int i; + long nUsage; // bool bEOTriggered = false; for (i = 0; i < CFArrayGetCount(Array); ++i) { @@ -655,7 +655,7 @@ class wxHIDModule : public wxModule { for(size_t i = 0; i < sm_keyboards.GetCount(); ++i) delete (wxHIDKeyboard*) sm_keyboards[i]; - sm_keyboards.Clear(); + sm_keyboards.Clear(); } };