Skip to content

Add explicit static_cast to convert from ktx_size_t to jsize in JNI library#548

Merged
MarkCallow merged 3 commits into
KhronosGroup:masterfrom
ShukantPal:fix/data-loss-warnings
Mar 9, 2022
Merged

Add explicit static_cast to convert from ktx_size_t to jsize in JNI library#548
MarkCallow merged 3 commits into
KhronosGroup:masterfrom
ShukantPal:fix/data-loss-warnings

Conversation

@ShukantPal
Copy link
Copy Markdown
Contributor

Fixes #547

@MarkCallow MarkCallow merged commit 6f98b3c into KhronosGroup:master Mar 9, 2022
@MarkCallow
Copy link
Copy Markdown
Collaborator

Thanks Shukant.

@ShukantPal ShukantPal deleted the fix/data-loss-warnings branch March 12, 2022 16:45
richgel999 pushed a commit to BinomialLLC/KTX-Software-Binomial-Fork that referenced this pull request Mar 9, 2026
…Group#548)

* Add explicit static_cast to convert from ktx_size_t to jsize in JNI library

* Add bounds check for array allocation

* Remove separateRGToRGB_A from KtxBasisParams, and add perceptual to KtxAstcParams
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.

"Possible loss of data" warnings in Java wrapper

2 participants