Re: memcpy with 64 bit
Re: memcpy with 64 bit
- Subject: Re: memcpy with 64 bit
- From: Greg Guerin <email@hidden>
- Date: Mon, 14 Dec 2009 22:03:41 -0700
gMail.com wrote:
Thanks, in the meantime I realized that I had to change imagePtr
from int
into an NSInteger. Now it works. Do you think it is ok?
The standardized size_t typedef would be a better choice than
NSInteger. The latter is signed.
Handle imagesH = NewHandleClear(totImages * oneImageSize);
This appears to be pointless and a leak. The variable isn't used in
the posted code.
-- GG
_______________________________________________
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