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

EventPerformanceLogger + BoundedConsumableBuffer - switch members to size_t #44564

Closed
wants to merge 2 commits into from

Conversation

marlenecota
Copy link
Contributor

@marlenecota marlenecota commented May 13, 2024

Summary:

The RNW integration to RN 04/13 (microsoft/react-native-windows#13226) adds EventPerformanceLogger.cpp and PerformanceEntryReporter.cpp.

We're getting the following errors:
image

image

Switching to size_t fixes it.

Changelog:

[Internal] [FIXED] - EventPerformanceLogger + BoundedConsumableBuffer - switch members to size_t

Test Plan:

Builds on Windows

@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 Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels May 13, 2024
@marlenecota marlenecota marked this pull request as draft May 14, 2024 00:13
@marlenecota marlenecota changed the title EventPerformanceLogger - use size_t instead of uint32_t EventPerformanceLogger + BoundedConsumableBuffer - switch members to size_t May 14, 2024
@marlenecota marlenecota marked this pull request as ready for review May 14, 2024 01:58
@facebook-github-bot
Copy link
Contributor

@javache has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 14, 2024
@facebook-github-bot
Copy link
Contributor

@javache merged this pull request in b53aa08.

Copy link

This pull request was successfully merged by @marlenecota in b53aa08.

When will my fix make it into a release? | How to file a pick request?

@marlenecota marlenecota deleted the integration-fix branch May 14, 2024 16:39
facebook-github-bot pushed a commit that referenced this pull request Jun 6, 2024
Summary:
Previous PR (#44564) missed one int -> size_t switch to fix C4018 in react-native-windows.
![image](https://github.com/facebook/react-native/assets/1422161/373480ed-7f49-4c01-a7ac-ea65a347ab1c)

## Changelog:

[INTERNAL] - Fix signed/unsigned mismatch in BoundedConsumableBuffer.h

Pull Request resolved: #44806

Test Plan: Builds on Windows + identical to forked file used in react-native-windows.

Reviewed By: cortinico

Differential Revision: D58234088

Pulled By: javache

fbshipit-source-id: 0453f3509c97854975b90e7a3b8c458ca977ec65
kosmydel pushed a commit to kosmydel/react-native that referenced this pull request Jun 11, 2024
…size_t (facebook#44564)

Summary:
The RNW integration to RN 04/13 (microsoft/react-native-windows#13226) adds EventPerformanceLogger.cpp and PerformanceEntryReporter.cpp.

We're getting the following errors:
![image](https://github.com/facebook/react-native/assets/1422161/33a4dc42-1d14-4ac4-befd-87ec5cd02640)

![image](https://github.com/facebook/react-native/assets/1422161/6269968d-c0e8-489b-992e-0bb41b6ef7c6)

Switching to size_t fixes it.

## Changelog:
[Internal] [FIXED] - EventPerformanceLogger + BoundedConsumableBuffer - switch members to size_t

Pull Request resolved: facebook#44564

Test Plan: Builds on Windows

Reviewed By: fabriziocucci

Differential Revision: D57327696

Pulled By: javache

fbshipit-source-id: 21ec3a9597958aa70fbca64710bd615a1022292d
kosmydel pushed a commit to kosmydel/react-native that referenced this pull request Jun 11, 2024
…4806)

Summary:
Previous PR (facebook#44564) missed one int -> size_t switch to fix C4018 in react-native-windows.
![image](https://github.com/facebook/react-native/assets/1422161/373480ed-7f49-4c01-a7ac-ea65a347ab1c)

## Changelog:

[INTERNAL] - Fix signed/unsigned mismatch in BoundedConsumableBuffer.h

Pull Request resolved: facebook#44806

Test Plan: Builds on Windows + identical to forked file used in react-native-windows.

Reviewed By: cortinico

Differential Revision: D58234088

Pulled By: javache

fbshipit-source-id: 0453f3509c97854975b90e7a3b8c458ca977ec65
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. Merged This PR has been merged. 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