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

Fixed siridb_time_now returns incorrect number in arm32 build #169

Closed
wants to merge 1 commit into from

Conversation

srdgame
Copy link

@srdgame srdgame commented Mar 5, 2021

We had siridb-server in our ARM device which Cortex-A7, and the siridb_time_now returns incorrect number.

if time.tv_sec is 1614844851 and time.tv_nsec is 490840489, with factor 1000, the siridb_time_now returns 4232115490.

The ARM device is running OpenWRT with musl

@joente
Copy link
Member

joente commented Mar 5, 2021

@srdgame , I think we may just as well just use uint64_t for the factor property. That will most likely also solve the arm32 build problem. See #170

@srdgame
Copy link
Author

srdgame commented Mar 5, 2021

@joente OK, I will close this

@srdgame srdgame closed this Mar 5, 2021
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