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 implicit cast from double to PointerIndentifier in NativeDOM.cpp #48578

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

Conversation

jonthysell
Copy link
Contributor

Summary:

When building react-native-windows our code analysis tools complained about an implicit double to PointerIdentifier in NativeDOM.cpp.

This PR adds an explicit cast.

Temporary downstream patch: microsoft/react-native-windows@5957d0a

Changelog:

[GENERAL] [FIXED] - Add explicit casts for pointerIds for PointerEvents in NativeDOM

Test Plan:

React Native Windows builds with this change and no more warnings.

When building `react-native-windows` our code analysis tools complained
about an implicit double to PointerIdentifier in NativeDOM.cpp.

This PR adds an explicit cast.

Temporary downstream patch: microsoft/react-native-windows@5957d0a
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Microsoft Partner: Microsoft Partner labels Jan 9, 2025
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Microsoft Partner: Microsoft Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants