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

Changed str_to_u32 to remove unsafe code. Need to verify Native Endia… #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

apps4uco
Copy link

@apps4uco apps4uco commented Oct 5, 2023

Hi just a minor detail, I saw some unsafe code that might have impacted an issue that I found,
it doesnt fix the problem but you might be interested in incorporating it, assuming its ok.

Also changed the tests to be optimized as the issue I have only is present in release builds.
All tests pass ...

@payload
Copy link
Owner

payload commented Oct 14, 2023

Yes, it's strange how something is crashing in release builds. Thanks for finding this pattern to get rid of this transmute. I think I do things wrong with endianess between intel and arm and rgb and bgr pixel formats.

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