Re: -Wshorten-64-to-32 and LL suffix
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