[fpc-pascal] Range check error warning.

fredvs fiens at hotmail.com
Tue Mar 24 18:26:53 CET 2020


This make the compiler happy:

foldlevelmask = byte(abs(not (foldhiddenmask or currentfoldhiddenmask)));

Not sure it is better to do abs() but so no more warning.

Let's fix with it?







-----
Many thanks ;-)
--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/


More information about the fpc-pascal mailing list