Skip to content

Negative valued count() doesn't work #6

@kzub

Description

@kzub

in file:
https://github.com/talebook/statsd-client-cpp/blob/master/src/statsd_client.cpp#L158

StatsdClient::count() has 'value' defined as size_t, which is commonly an unsigned value.
%zd in snprintf() helps, consider use uint32_t instead size_t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions