James Maxwell wrote:
erm... actually, just using:
[aCoder encodeBytes:coincidences length:coincsSize
forKey:@"coincidences"];
fails with a complaint about getting a float* when it expects a
uint8_t const.
In fact, I know remember that's why I used the NSData in the first
place... any thoughts?
Type-casting is a basic language feature. (const uint8_t *)coincidences
It's NOT expecting a uint8_t const. It's expecting a pointer to
const uint8_t.
-- GG
_______________________________________________
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