I can't seem to correct a warning i get with -Wconversion (gcc)
Some minimal code that displays it :
mask2 = (~mask2);
The warning says Conversion to 'unsigned char' from 'int' may alter it's value at the second line
If i understand it correctly, this means that the ~ operator always gives an int if the type is smaller and/or of different 'signedness'?