Re: Returning long long values
Re: Returning long long values
- Subject: Re: Returning long long values
- From: "Clark S. Cox III" <email@hidden>
- Date: Sat, 21 Feb 2009 12:39:55 -0800
If the caller cannot see the function's prototype, the C will assume
that the function returns an int instead of a long long; so, the first
thing I would check is that you have a declaration of the function in
scope when it is called.
Sent from my iPhone
On Feb 20, 2009, at 16:58, David Dunham <email@hidden> wrote:
On 20 Feb 2009, at 16:32, John Mikros wrote:
The high 32-bits are returned in edx
OK, I think I see that in the disassembly.
So is there a reason the value changed between my function and the
caller? It does look like it's being truncated to 32 bits (4 bytes).
David Dunham
Voice/Fax: 206 783 7404 http://www.pensee.com/dunham/
Imagination is more important than knowledge. -- Albert Einstein
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden