quieten integer overflow warning with gcc -pedantic