[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] e72062: ui/cocoa.m: Fix compatibility issue w

From: GitHub
Subject: [Qemu-commits] [qemu/qemu] e72062: ui/cocoa.m: Fix compatibility issue with Mac OS 10...
Date: Thu, 29 Jun 2017 08:21:09 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e72062490620d0c9ff8a0c6e6cf6013fc918a26a
  Author: John Arbuckle <address@hidden>
  Date:   2017-06-29 (Thu, 29 Jun 2017)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  ui/cocoa.m: Fix compatibility issue with Mac OS 10.9 and under

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 
OS 10.12 without problem.

Signed-off-by: John Arbuckle <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]