• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Returning long long values
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Returning long long values


  • Subject: Re: Returning long long values
  • From: Ken Thomases <email@hidden>
  • Date: Sat, 21 Feb 2009 04:08:48 -0600

On Feb 20, 2009, at 6:58 PM, David Dunham 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).

Was the function declaration visible to the compiler, in the same translation unit, prior to the call point?


Do you have all warnings enabled, and are you heeding/fixing the warnings that you get?

Regards,
Ken

_______________________________________________
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


References: 
 >Returning long long values (From: David Dunham <email@hidden>)
 >RE: Returning long long values (From: "John Mikros" <email@hidden>)
 >Re: Returning long long values (From: David Dunham <email@hidden>)

  • Prev by Date: Re: Xcode not copying modified files to Resources folder
  • Next by Date: Imported .png images doesn't maintain its original size
  • Previous by thread: Re: Returning long long values
  • Next by thread: Re: Returning long long values
  • Index(es):
    • Date
    • Thread