Opened 8 years ago
Closed 8 years ago
#11576 closed Patch - Bug Fix (Fixed)
Patch for gcc warning regarding comparison of signed/unsigned type in audiooutputalsa.cpp
Reported by: | Owned by: | Karl Egly | |
---|---|---|---|
Priority: | minor | Milestone: | 0.27 |
Component: | MythTV - Audio Output | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
In audiooutputalsa.cpp gcc produces a warning message of the form:
audio/audiooutputalsa.cpp:765:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
due to a comparison of buftmp and buffer_time, which have different signedness. The patch changes buftmp to be a uint, just like buffer_time, from which it is assigned its value.
Patch: https://github.com/garybuhrmaster/mythtv/commit/1b24985e5e58270e97fe57b27c26c6c817f82df3
Change History (2)
Note: See
TracTickets for help on using
tickets.
Fixed in [4609287]