cast to pointer from int of diff size & IODisplayCreateInfoDictionary
cast to pointer from int of diff size & IODisplayCreateInfoDictionary
- Subject: cast to pointer from int of diff size & IODisplayCreateInfoDictionary
- From: Trygve Inda <email@hidden>
- Date: Tue, 17 Mar 2009 23:36:09 +0000
- Thread-topic: cast to pointer from int of diff size & IODisplayCreateInfoDictionary
io_service_t service;
CFDictionaryRef dict;
dict = (CFDictionaryRef) IODisplayCreateInfoDictionary (service,
kNilOptions);
No matter what I do I get:
warning: cast to pointer from integer of different size
I am compiling 32/64bit and this is defined as:
CFDictionaryRef IODisplayCreateInfoDictionary(
io_service_t framebuffer,
IOOptionBits options );
Thaoughts?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden