Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Negative valued count() doesn't work #6

Open
kzub opened this issue Feb 18, 2017 · 0 comments
Open

Negative valued count() doesn't work #6

kzub opened this issue Feb 18, 2017 · 0 comments

Comments

@kzub
Copy link

kzub commented Feb 18, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant