Skip to content

Type mismatch in use of bitSet #101

@dirk-zimoch

Description

@dirk-zimoch

The BitSet::set() method declared here

BitSet& set(uint32 bitIndex);

takes a 32 bit argument but is usually called with PVField::getFieldOffset() as an argument which returns size_t.
std::size_t getFieldOffset() const;

Would it be safe to change the BitSet::set() method (and everything else related in class BitSet) to have a size_t argument instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions