Fixed definition of negative 16bit numbers.