Replace type mismatch with range-based for loop #367

Merged
jpark37 merged 1 commit from type-mismatch into master 2022-07-13 04:16:03 -05:00
jpark37 commented 2022-07-13 02:01:12 -05:00 (Migrated from github.com)

Description

Eliminates mixing of int and size_t.

Motivation and Context

Fixes a warning on 32-bit Windows build.

How Has This Been Tested?

Context menu still seems to work.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.
### Description Eliminates mixing of int and size_t. ### Motivation and Context Fixes a warning on 32-bit Windows build. ### How Has This Been Tested? Context menu still seems to work. ### Types of changes - Bug fix (non-breaking change which fixes an issue) ### Checklist: - [x] My code has been run through [clang-format](https://github.com/obsproject/obs-studio/blob/master/.clang-format). - [x] I have read the [**contributing** document](https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst). - [x] My code is not on the master branch. - [x] The code has been tested. - [x] All commit messages are properly formatted and commits squashed where appropriate. - [x] I have included updates to all appropriate documentation.
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-obsproject/obs-browser!367
No description provided.