• Dominik Charousset's avatar
    Fix serialization of variant and sequences · 057b9aa2
    Dominik Charousset authored
    Switch from platform-dependent `size_t` to `uint32_t` when serializing
    the size of a sequence and from `size_t` to `uint8_t` when serializing
    the type index of a `variant`. Fixed sizes for the integer types are
    needed to ensure compatibility between 32-bit and 64-bit CAF nodes.
    
    Relates #677.
    057b9aa2
variant.hpp 16.5 KB