define output as int variable

Read the OP's reply #6, this is machine (poorly) generated code.