Thanks for letting me know. This will be fixed in the next update.
But I just wonder what is the purpose of this typecast? :)
At least delphi 2007 complains
I just realized that there exists external AssignFile on one 3rd party unit
Anyway, if it compiles, FixInsight should be able to parse it. I will fix this.