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

use formatstring macro PRId64 in print_netdata for output int64_t #229

Merged
merged 1 commit into from
Dec 30, 2021

Conversation

gsnw
Copy link
Contributor

@gsnw gsnw commented Aug 14, 2021

On diffrent architecture int64_t is long int or long long int. This change use the format string macro PRId64 from inttypes.h in the print_netdata function to set individually "ld" or "lld" at printf output

Fixes #219

@schweikert schweikert merged commit 03aea81 into schweikert:develop Dec 30, 2021
@gsnw gsnw deleted the bug/219 branch January 1, 2022 22:11
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

Successfully merging this pull request may close these issues.

Output compatible for Netdata produces zero values
3 participants