got lab10 to compile without warning on Windows