Skip to content

Conversation

nafmo
Copy link
Contributor

@nafmo nafmo commented Oct 6, 2025

Here is a patch I forgot to submit earlier, to fix some signedness warnings when using the SCTE 35 code.

- Help compiler to promote constants to size_t instead of int.
- Cast pointer diff to size_t; in C99 ptrdiff_t and size_t are
  the same size, but one is signed and the other not.
@nafmo nafmo changed the title lib: Fix compiler warnings Fix compiler warnings Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant