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: Gary Buhrmaster <gary.buhrmaster@…> Owned by: Karl Egly
Priority: minor Milestone: 0.27
Component: MythTV - Audio Output Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no


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.


Change History (2)

comment:1 Changed 8 years ago by stuartm

Milestone: unknown0.27
Owner: changed from JYA to Karl Egly
Status: newassigned

Fixed in [4609287]

comment:2 Changed 8 years ago by stuartm

Resolution: Fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.