-
Notifications
You must be signed in to change notification settings - Fork 679
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 size_t printf type error. #94
Conversation
This was originally changed in https://github.com/cloudflare/quiche/pull/39/files#diff-938cb8b06341b6f8009f37feb42910dc to fix a build error on macOS, though I don't have the hardware to test this, @junhochoi can you have a look? |
Co-Authored-By: Alessandro Ghedini <alessandro@ghedini.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
66a35f8 changed stats.recv
and stats.sent
and stats.lost
from uint64_t
to size_t
, but this code was not updated.
I think this change is good.
Also, need to update |
Thanks @junhochoi. @VMatrix1900 can you update the |
Co-Authored-By: Alessandro Ghedini <alessandro@ghedini.me>
Merged, thanks @VMatrix1900! |
The type of
stats.sent
etc issize_t
notuint64_t
. We should use%zu
to print them.