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 added integer u32 #145

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix added integer u32
```
xeve_eco.c: In function 'write_sei_userdata_unregistered':
xeve_eco.c:362:23: warning: comparison of integer expressions of different signedness: 'u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
  362 |     for (u32 i = 0; i < sei_userdata->payload_size; i++)
      |                       ^
```
  • Loading branch information
Jamaika1 authored Sep 5, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e99f100478f306593fb05b561486c5ab61d8e7ee
2 changes: 1 addition & 1 deletion src_base/xeve_eco.c
Original file line number Diff line number Diff line change
@@ -359,7 +359,7 @@ static void write_sei_userdata_unregistered(XEVE_SEI_PAYLOAD * sei_userdata, XEV
{
xeve_bsw_write(bs, m_uuid_iso_iec_11578[i], 8);
}
for (u32 i = 0; i < sei_userdata->payload_size; i++)
for (u32 i = 0; i < (u32)sei_userdata->payload_size; i++)
{
xeve_bsw_write(bs, sei_userdata->payload[i], 8);
}