diff --git a/plugins/LilyPad/Global.h b/plugins/LilyPad/Global.h index 8b12b127a5..d4718a2029 100644 --- a/plugins/LilyPad/Global.h +++ b/plugins/LilyPad/Global.h @@ -22,7 +22,9 @@ #include "stdint.h" typedef uint32_t DWORD; typedef uint16_t USHORT; +#ifndef __INTEL_COMPILER typedef int64_t __int64; +#endif #define MAX_PATH (256) // random value diff --git a/plugins/LilyPad/Linux/Config.cpp b/plugins/LilyPad/Linux/Config.cpp index 025cd1878b..214bb54ea4 100644 --- a/plugins/LilyPad/Linux/Config.cpp +++ b/plugins/LilyPad/Linux/Config.cpp @@ -367,7 +367,7 @@ int LoadSettings(int force, wchar_t *file) { w++; } string[w] = 0; - int len = sscanf(string, " %i , %i , %i , %i , %i , %i , %i", &uid, &port, &command, &sensitivity, &turbo, &slot, &deadZone); + int len = sscanf(string, " %u , %i , %i , %i , %i , %i , %i", &uid, &port, &command, &sensitivity, &turbo, &slot, &deadZone); if (len >= 5 && type) { VirtualControl *c = dev->GetVirtualControl(uid); if (!c) c = dev->AddVirtualControl(uid, -1);