Debugger: added a typecast to prevent a range check error
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
When Lazarus is built with -Cr (range check enabled), subtracting QWords gives an error. It can be fixed by a typecast.
It is not a functional error, meaning that the code works correctly when range check is disabled. However it makes it more difficult to use -Cr for "real" errors.
Patch is included.
Mantis conversion info:
- Mantis ID: 17537
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 27569 (#ea59a61d)
- Target version: 0.9.30