[mythtv-commits] Ticket #1430: couple of compile warnings - patch included

MythTV mythtv at cvs.mythtv.org
Thu Mar 2 02:05:02 UTC 2006


#1430: couple of compile warnings  - patch included
----------------------------------------+-----------------------------------
 Reporter:  David Buzz <buzz at oska.com>  |        Owner:  ijr
     Type:  defect                      |       Status:  new
 Priority:  minor                       |    Milestone:     
Component:  mythtv                      |      Version:     
 Severity:  medium                      |   Resolution:     
----------------------------------------+-----------------------------------
Changes (by David Buzz <buzz at oska.com>):

  * summary:  compile warnings in eitfixup.cpp - patch included => couple
              of compile warnings  - patch included

Comment:

 a warning is also generated by unsigned->signed comparison in :
 {{{
 Index: programs/mythtranscode/replex/ringbuffer.c
 ===================================================================
 --- programs/mythtranscode/replex/ringbuffer.c  (revision 9234)
 +++ programs/mythtranscode/replex/ringbuffer.c  (working copy)
 @@ -49,7 +49,7 @@

  int ring_reinit (ringbuffer *rbuf, int size)
  {
 -       if (size > rbuf->size) {
 +       if ((unsigned int)size > rbuf->size) {
                 uint8_t *tmpalloc = (uint8_t *) realloc(rbuf->buffer,
 sizeof(uint8_t)*size);
                 if (! tmpalloc)
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1430>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list