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 address sanitizer warnings with stencil table casting #1343

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

Conversation

brechtvl
Copy link

For compatibility, StencilTableReal<float> is cast to StencilTable, which has the same data layout but it's not actually an instance of that class. And so using static_cast is not strictly correct. Use reinterpret_cast instead.

For compatibility, StencilTableReal<float> is cast to StencilTable, which has
the same data layout but it's not actually an instance of that class. And so
using static_cast is not strictly correct. Use reinterpret_cast instead.
@davidgyu
Copy link
Member

Hi Brecht! Would you mind submitting an OpenSubdiv CLA which is distinct from the OpenUSD CLA we already have on file. Thanks!

@brechtvl
Copy link
Author

Ah, I didn't realize. Sent now.

@davidgyu
Copy link
Member

Filed as internal issue #OSD-451

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