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 #11 - randomness component evaluating to 0 #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ChrisBove
Copy link

This fixes issue #11 by static casting the entire expression to ensure the evaluation will properly be between 0-255.

I tested this fix locally in an application to confirm it works, and I believe the change won't break #7.

…ll to Time(ulid)

- Change all timing calls to use chrono time points to ensure ms units (not seconds) are always encoded as the timestamp portion
- Fix problems using time_t on 32 bit systems by explicitly making this an int64_t
bdraco added a commit to Bluetooth-Devices/ulid-transform that referenced this pull request Apr 9, 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.

1 participant