The program (both main and alt versions) had main()'s return type as void. To make it more portable, like another entry (that I was asked to make this same change), I changed it to int.