Fix float-conversion warning in istream operator>>#537
Fix float-conversion warning in istream operator>>#537martinbudden wants to merge 1 commit intogreiman:masterfrom
Conversation
|
Thanks for pointing out the warning. Few people use the iostream code that I did many years ago when there were only AVR boards. I never use pull requests in the release version of SdFat since they often they cause problems with other boards. I test with a number of boards and static analyzers like Cppcheck and cpplint. These analyzers don't accept C-style castes and I found another warning.
So please try this mod: I will put the mod in SdFat-beta and it will finally be in the release version. |
Fixes float-conversion warning that occurs when compiled with
-Wfloat-conversion