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 some warnings #1112

Merged
merged 3 commits into from
May 31, 2023
Merged

Fix some warnings #1112

merged 3 commits into from
May 31, 2023

Commits on May 31, 2023

  1. Resolve warning in stream.c

    Fixes:
    
    stream.c:611:5: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion]
        copy16(rtp_buf, len + 0, (uint16_t)0x8021);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ../src/minisatip.h:34:27: note: expanded from macro 'copy16'
            a[i] = ((v) >> 8) & 0xFF;                                              \
                 ~ ~~~~~~~~~~~^~~~~~
    1 warning generated.
    lars18th authored May 31, 2023
    Configuration menu
    Copy the full SHA
    b90366e View commit details
    Browse the repository at this point in the history
  2. Fix warning in stream.c

    lars18th authored May 31, 2023
    Configuration menu
    Copy the full SHA
    7099b33 View commit details
    Browse the repository at this point in the history
  3. Fix warning in pmt.c

    lars18th authored May 31, 2023
    Configuration menu
    Copy the full SHA
    4c6450f View commit details
    Browse the repository at this point in the history