o fixed use of loop counter after end of loop o fixed reliance on old behaviour for int -> real typecasts git-svn-id: trunk@45379 -