Maybe not a big deal, but I would usually pass an integer by reference if it were an output parameter.