libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
9.92k stars 1.84k forks source link

examples, renderer-lines: CI failing for MSVC #10902

Closed sezero closed 1 month ago

sezero commented 1 month ago

E.g.:

D:\a\SDL\SDL\examples\renderer\03-lines\renderer-lines.c(80): error C2220: the following warning is treated as an error
D:\a\SDL\SDL\examples\renderer\03-lines\renderer-lines.c(80): warning C4244: 'function': conversion from 'int' to 'float', possible loss of data
D:\a\SDL\SDL\examples\renderer\03-lines\renderer-lines.c(80): warning C4244: 'function': conversion from 'int' to 'float', possible loss of data

CC: @icculus

icculus commented 1 month ago

Fixed in b4e2777820c3ee0f802c5956eaafb5feea4e0945.