On Thu, Apr 24, 2008 at 4:28 PM, Daniel DeCovnick <[EMAIL PROTECTED]> wrote:

> Er... either my calculator's broken or (65535 - 30 - 8 )/12 = 5458, not
> 2727, where 30 and 8 are the resource map header and a single reference
> type.

However, floor((32767 - 30 - 8) / 12) = 2727. Maybe the use of a
signed int is the "well-known bug" Uli referred to.

Hamish
_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to