Closed Bug 1354222 Opened 3 years ago Closed 3 years ago

Fix log level casting warnings

Categories

(Core :: WebRTC, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: drno, Assigned: drno)

References

Details

Attachments

(1 file)

No description provided.
Attachment #8855423 - Flags: review?(erahm)
Comment on attachment 8855423 [details]
Bug 1354222: fix log level casting warnings.

https://reviewboard.mozilla.org/r/127268/#review130038

Thanks for the fix!

::: media/mtransport/logging.h:59
(Diff revision 1)
>      return log;                                 \
>    }
>  
>  #define MOZ_MTLOG(level, b)                                                         \
>    do {                                                                              \
>      if (PR_LOG_TEST(getLogModule(), (PRLogModuleLevel)level)) {                     \

I guess you can get rid of these casts now.
Attachment #8855423 - Flags: review?(erahm) → review+
Pushed by drno@ohlmeier.org:
https://hg.mozilla.org/integration/autoland/rev/ff349ab587f8
fix log level casting warnings. r=erahm
https://hg.mozilla.org/mozilla-central/rev/ff349ab587f8
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.