Re: App hangs when displaying any sheet in 10.5 [SOLVED]
Re: App hangs when displaying any sheet in 10.5 [SOLVED]
- Subject: Re: App hangs when displaying any sheet in 10.5 [SOLVED]
- From: "Hamish Allan" <email@hidden>
- Date: Fri, 6 Jun 2008 05:12:17 +0100
On Thu, Jun 5, 2008 at 5:12 PM, Brian Stern <email@hidden> wrote:
> While float and int are the same size they are returned from functions in
> different registers (on both ppc and intel). If the calling function expects
> a float returned type but an int is returned instead the calling function
> will certainly get a bogus value. In addition it may save and restore the
> wrong registers and not save and restore a register that needs to be
> preserved, resulting in memory corruption.
That shouldn't be what happened here, though -- the method in question
was returning a float. Perhaps the calling function expected an int,
but I don't see why...
Hamish
_______________________________________________
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