Skip to content

constant does not match type #211

@dirk-zimoch

Description

@dirk-zimoch

const epics::pvData::int16 INVALID_DATA_TYPE = 0xFFFF;

0xFFFF does not fit in an int16. MSVC complains with the warning

src\pva\pv\pvaConstants.h(76): warning C4309: 'initializing': truncation of constant value

Consider either using the data type uint16 or the value -1 or remove the constant altogether as it seems not to be used anywhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions