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 warning due to printf flags for int64 #46

Closed
wants to merge 1 commit into from

Conversation

tsupplis
Copy link
Collaborator

It is a suggested small fix on timer.c. %ld vs %lld

@dmsc
Copy link
Owner

dmsc commented Apr 18, 2022

Hi!

Thanks for the PR. Sadly, this does not work, as you need "%lld" on 32bit OS and "$ld" on 64bit OS.

I pushed a different fix, should work on modern C compilers.

@dmsc dmsc closed this Apr 18, 2022
@tsupplis tsupplis deleted the timer-warning branch April 18, 2022 20: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.

2 participants