removed most conversion warnings from SGScript core on tdm-gcc 32/64