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 (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