You just have to know that sets have different size, depending on compiler settings. In Delphi the size scales dynamically based on its range, starting from 1 byte. In Lazarus the default smallest size for set is 4 bytes. Compiler options can change that behavior.