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 ExportDataAsCode() data types #2787

Merged
merged 1 commit into from
Nov 4, 2022
Merged

Fix ExportDataAsCode() data types #2787

merged 1 commit into from
Nov 4, 2022

Conversation

RGDTAB
Copy link
Contributor

@RGDTAB RGDTAB commented Nov 4, 2022

When I tried using negative numbers, or numbers over 128, the hexadecimal value returned would have 8 digits instead of only having 2.
ExportDataAsCode() uses the 'x' format specifier to convert decimal to hexadecimal, which is only usable with unsigned data.

@raysan5 raysan5 merged commit dbdfad7 into raysan5:master Nov 4, 2022
@raysan5
Copy link
Owner

raysan5 commented Nov 4, 2022

@RGDTAB thanks for the review

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