[Qemu-devel] Re: [PATCH v2 2/3] Cocoa: ppc64 host support

2009-12-06 Thread Alexander Graf
On 06.12.2009, at 14:00, Andreas Faerber wrote: Fix integer usage in the Cocoa backend: NSInteger is long on LP64. http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/doc/uid/2014-BBCFHHCD This

[Qemu-devel] Re: [PATCH v2 2/3] Cocoa: ppc64 host support

2009-12-06 Thread Andreas Färber
Hi Alex, Am 06.12.2009 um 14:02 schrieb Alexander Graf: On 06.12.2009, at 14:00, Andreas Faerber wrote: Fix integer usage in the Cocoa backend: NSInteger is long on LP64.

[Qemu-devel] Re: [PATCH v2 2/3] Cocoa: ppc64 host support

2009-12-06 Thread Alexander Graf
On 06.12.2009, at 14:23, Andreas Färber wrote: Hi Alex, Am 06.12.2009 um 14:02 schrieb Alexander Graf: On 06.12.2009, at 14:00, Andreas Faerber wrote: Fix integer usage in the Cocoa backend: NSInteger is long on LP64.

[Qemu-devel] Re: [PATCH v2 2/3] Cocoa: ppc64 host support

2009-12-06 Thread Mike Kronenberg
On 06.12.2009, at 14:00, Andreas Faerber wrote: -int rectCount; +NSInteger rectCount; I know that this is endorsed by apple since 10.5 but NSInteger will break compiling on Tiger and older. Int on the other hand is only throwing a warning on Leopard if I'm not

[Qemu-devel] Re: [PATCH v2 2/3] Cocoa: ppc64 host support

2009-12-06 Thread Andreas Färber
Am 06.12.2009 um 14:41 schrieb Mike Kronenberg: On 06.12.2009, at 14:00, Andreas Faerber wrote: -int rectCount; +NSInteger rectCount; I know that this is endorsed by apple since 10.5 but NSInteger will break compiling on Tiger and older. You appear to be right