so cast to int before printing. The value appears to be either 1 or 2, so no information should be lost this way.