3 ms·
> you'll realize that explicit casts enforced by -Wconversion only hide errors I find I'm increasingly annoyed with the advice to 'just add a cast' to fix conv
by Gibbon1 4y ago
> you'll realize that explicit casts enforced by -Wconversion only hide errors
I find I'm increasingly annoyed with the advice to 'just add a cast' to fix conversion issues.
And safely casting between signed and unsigned is something that should have been added to C about 40 years ago.