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

fix build warnings of uint64_t's print #23

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

songqing
Copy link
Contributor

@songqing songqing commented Mar 9, 2023

1 Change u_int64_t to uint64_t as u_int64_t is not portable in C, see [https://stackoverflow.com/questions/42979055/should-i-use-c-types-uint8-t-uint64-t-or-u-int8-t-u-int64-t](u_int64_t vs uint64_t).
2 Fix build warnings of uint64_t's print, as uint64_t is 'unsigned long long' in Mac, but is 'unsigned long int' in linux.
f1

@rizkg
Copy link
Owner

rizkg commented Mar 13, 2023

Thanks for the PR, yes I agree with the change.

@rizkg rizkg merged commit 1803c23 into rizkg:master Mar 13, 2023
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.

2 participants