Skip to content

ptp_message.cpp char is miss used #89

@liuzuanmin

Description

@liuzuanmin

Thanks the project firstly.
When try to run it, find one issue.

https://github.com/Avnu/gptp/blob/master/common/ptp_message.cpp#L1964
origin:
char linkDelayInterval = tlv.getLinkDelayInterval();
char timeSyncInterval = tlv.getTimeSyncInterval();
char announceInterval = tlv.getAnnounceInterval();
It would be better if change char to int8_t.

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