Re: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
Re: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
- Subject: Re: Casting anonymous Objects leads to different values on getter functions (while getting no warnings at compile time)
- From: Pontus Ilbring <email@hidden>
- Date: Fri, 4 Nov 2005 14:55:48 +0100
Your width method returns the correct value. Unfortunately, the
calling method is assuming that it called the width method returning a
float, and so goes looking in the floating point registers for its
return value.
I'd say that the lack of warning is a bug.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden