That's because the int() function changed. Actually this is the Freepascal int() function which is described as this:
Int returns the integer part of any Real X, as a Real.
So it returns Real. Please use trunc() instead of int().
This only affects Pascal programs. With Lua, int() still works. It works now like trunc(), for rounding in Lua please use round().