mrackwitz / MRProgress

Collection of iOS drop-in components to visualize progress
MIT License
2.55k stars 306 forks source link

Fixed implicit conversions from float to double errors on 64bit #123

Open danishin opened 8 years ago

jamieomatthews commented 7 years ago

@danishin it would be best if you casted to CGFloat here instead of double. This would let 32 bit systems continue to use float, and 64 bit systems would use double. Double precision isn't required here, so no need to drive a hard up cast to double.