Fix warnings in main-win.c caused by attr becoming int and savefile.c changes