-Wshorten-64-to-32 and LL suffix
-Wshorten-64-to-32 and LL suffix
- Subject: -Wshorten-64-to-32 and LL suffix
- From: "Sean McBride" <email@hidden>
- Date: Mon, 14 Aug 2006 21:01:38 -0400
Hi all,
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 );
The 3rd param is an SInt64. I changed the "0" to "0LL", but I still get
the warning. Is that not the correct solution?
Thanks!
BTW: -Wshorten-64-to-32 is pretty handy these days! :)
--
"Inter arma enim silent leges" - Cicero
_______________________________________________
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