Trygve Inda (cocoa...@xericdesign.com) on 2009-03-17 7:36 PM said:

>io_service_t        service;
>CFDictionaryRef     dict;
>
>dict = (CFDictionaryRef) IODisplayCreateInfoDictionary (service,
>kNilOptions);

Why the cast?

>No matter what I do I get:
>
>warning: cast to pointer from integer of different size

Which warning flag generates this?  I can't repro with -Wall -Wextra.
Try adding -fdiagnostics-show-option.

Sean


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to