mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 00:39:53 +00:00
Fix Apple build
This commit is contained in:
parent
b1c0fe7d0d
commit
c7c71cb01f
@ -67,12 +67,12 @@ CFComparisonResult iohidmanager_sort_elements(const void *val1, const void *val2
|
||||
uint32_t cookie2 = (uint32_t)IOHIDElementGetCookie((IOHIDElementRef)val2);
|
||||
|
||||
if (page1 != page2)
|
||||
return (enum CFComparisonResult)(page1 > page2);
|
||||
return (CFComparisonResult)(page1 > page2);
|
||||
|
||||
if(use1 != use2)
|
||||
return (enum CFComparisonResult)(use1 > use2);
|
||||
return (CFComparisonResult)(use1 > use2);
|
||||
|
||||
return (enum CFComparisonResult)(cookie1 > cookie2);
|
||||
return (CFComparisonResult)(cookie1 > cookie2);
|
||||
}
|
||||
|
||||
static bool iohidmanager_check_for_id(apple_input_rec_t *rec, uint32_t id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user