Re: [Qemu-devel] [PATCH] ui/cocoa.m: Fix compatibility issue with Mac OS 10.9 and under

2017-06-29 Thread Peter Maydell
On 28 June 2017 at 20:37, Programmingkid wrote: > The [NSEvent modifierFlags] method returns an NSEventModifierFlags type value > in Mac OS 10.10. It use to be of type NSUInteger. Replacing > NSEventModifierFlags with NSUInteger allows for the cooca.m file to be > compiled on older versions of

[Qemu-devel] [PATCH] ui/cocoa.m: Fix compatibility issue with Mac OS 10.9 and under

2017-06-28 Thread Programmingkid
The [NSEvent modifierFlags] method returns an NSEventModifierFlags type value in Mac OS 10.10. It use to be of type NSUInteger. Replacing NSEventModifierFlags with NSUInteger allows for the cooca.m file to be compiled on older versions of Mac OS. This patch was been tested on Mac OS 10.6 and Mac