Skip to content
  • Yuriy Sydorov's avatar
    * Improved fix for bug #10233 for better Delphi compatibility and efficiency: · 771479e6
    Yuriy Sydorov authored
      - Explicit typecasts like LongBool(byte_value) do not change ordinal value.
      - Explicit typecasts like ByteBool(longint_value) do not change ordinal value and can lead to data loss if longint_value is outside of ByteBool range.
      - Explicit typecasts like ByteBool(LongBool) handle type ranges correctly.
      - Updated test tw10233.pp. It is passed by Delphi as well.
    
    git-svn-id: trunk@10672 -
    771479e6