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

device.c: Unconditionally cast tv_{sec,usec} to lld for printf #204

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

hosiet
Copy link
Contributor

@hosiet hosiet commented Sep 12, 2024

This would avoid build failure due to type mismatch on architecture where 64-bit time_t and %ld printf formatter coexist and -Werror=format is enabled.

This fixes #199.

This would avoid build failure due to type mismatch on architecture where
64-bit time_t and %ld printf formatter coexist and -Werror=format is enabled.

This fixes chaos#199.
Copy link
Member

@garlick garlick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@mergify mergify bot merged commit c5f1000 into chaos:master Sep 12, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build failure on some time64-mitigated architectures:
2 participants