Fix conversion & sign warnings