mirror of
https://github.com/team-charls/charls
synced 2025-03-28 21:03:13 +00:00

* Enable warning -Wuseless-cast for GCC build * Add conditional_static_cast template to fix -Wuseless-cast warnings Note 1: the original template code was created by Thomas Braun (https://github.com/t-b) as an example in an issue discussion. Note 2: the warnings are mostly reported on 32 bit (x86) builds. All CI Linux builds are x64 builds.