Skip to content

src: suppress coverity message

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/coverity into master
Checklist
  • make -j4 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

src

Description of change

Coverity marked a change in 630096bc as a constant expression. However, on platforms where sizeof(int64_t) > sizeof(size_t), this should not be the case. This commit flags the comparison as OK to coverity.

Disclaimer: I have no idea how to test this with coverity. I put this together based on existing code in core and some Googling.

R= @bnoordhuis

Merge request reports

Loading