Skip to content

Negative valued count() doesn't work #6

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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