Fix #11 large integer implicitly truncated to unsigned type