grimfang4 / sdl-gpu

A library for high-performance, modern 2D graphics with SDL written in C.
MIT License
1.19k stars 123 forks source link

Fix build on G++10 #199

Closed albertvaka closed 4 years ago

albertvaka commented 4 years ago

I compiled the code as C++ using the latest G++ and it only complained about 3 little things, which I think are nice fixes anyway, so here they are :)

albertvaka commented 4 years ago

Closing due to lack of interest on this.

grimfang4 commented 4 years ago

I looked at these the other day and was surprised that there'd be a narrowing warning there, but everything else looks great. I just haven't had the chance to sit down with it further.

albertvaka commented 4 years ago

No worries. Note these warnings/errors are only on a C++ compiler, and this is C code anyway.