fix a few -pedantic errors