Consider checking the fourth actual argument of the 'fprintf' function. The SIGNED integer type argument is expected.