Closed Bug 1712031 Opened 4 years ago Closed 4 years ago

[gcc 8] TestAudioCallbackDriver.cpp:199:36: error: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Werror=sign-compare]

Categories

(Core :: Audio/Video, defect, P3)

defect

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

[task 2021-05-20T01:17:01.804Z] 01:17:01     INFO -  In file included from Unified_cpp_dom_media_gtest0.cpp:29:
[task 2021-05-20T01:17:01.804Z] 01:17:01     INFO -  /builds/worker/checkouts/gecko/dom/media/gtest/TestAudioCallbackDriver.cpp: In lambda function:
[task 2021-05-20T01:17:01.804Z] 01:17:01    ERROR -  /builds/worker/checkouts/gecko/dom/media/gtest/TestAudioCallbackDriver.cpp:199:36: error: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'const int' [-Werror=sign-compare]
[task 2021-05-20T01:17:01.804Z] 01:17:01     INFO -       return graph->IterationCount() >= fallbackIterations;
[task 2021-05-20T01:17:01.804Z] 01:17:01     INFO -              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
Severity: -- → S3
Priority: -- → P3
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/4766a5d3c312 Adjust the type of fallbackIterations to match that of IterationCount(). r=padenot
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: