Opened 6 years ago

Closed 6 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

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)

comment:1 Changed 6 years ago by stuartm

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

Fixed in [4609287]

comment:2 Changed 6 years ago by stuartm

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