• 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: -Wshorten-64-to-32 and LL suffix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -Wshorten-64-to-32 and LL suffix


  • Subject: Re: -Wshorten-64-to-32 and LL suffix
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 15 Aug 2006 09:15:41 -0400

Alexey Proskuryakov (email@hidden) on 2006-08-15 03:45 said:

>> With the -Wshorten-64-to-32 warning, Xcode is complaining:
>>
>> warning: implicit conversion shortens 64-bit value into a 32-bit value
>>
>> for the code:
>>
>> err = FSWriteFork( destRefNum, fsAtMark + noCacheMask, 0,
>> bytesToWriteThisTime, params->copyBuffer, NULL );
>
>  What is the type of bytesToWriteThisTime?

Doh!  That's it.  I was looking at it all backwards, thinking 32 to 64
for some reason.  No more late night coding.  Cheers.

--
____________________________________________________________
Sean McBride, B. Eng                         email@hidden
Mac Software Designer               Montréal, Québec, Canada


 _______________________________________________
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: 
 >-Wshorten-64-to-32 and LL suffix (From: "Sean McBride" <email@hidden>)
 >Re: -Wshorten-64-to-32 and LL suffix (From: Alexey Proskuryakov <email@hidden>)

  • Prev by Date: Re: compilation error: no matching function for call to
  • Next by Date: Re: Xcode/gcc help in enforcing secure coding?
  • Previous by thread: Re: -Wshorten-64-to-32 and LL suffix
  • Next by thread: DWARF and separate dSYM problems
  • Index(es):
    • Date
    • Thread