Changeset 034d137a91abddb95922576464bf790f36c37e2d

Show
Ignore:
Timestamp:
21/10/06 14:36:36 (2 years ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1161434196 +0000
git-parent:

[f530aa7a74b10fe6155d8ef371f12098915bfaf4]

git-author:
Jean-Paul Saman <jpsaman@videolan.org> 1161434196 +0000
Message:

Fix compiler warning: comparison between signed and unsigned

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/audio_filter/channel_mixer/mono.c

    rbdfdc20 r034d137  
    7676    vlc_bool_t b_downmix; 
    7777 
    78     int i_nb_channels; /* number of int16_t per sample */ 
     78    unsigned int i_nb_channels; /* number of int16_t per sample */ 
    7979    int i_channel_selected; 
    8080    int i_bitspersample; 
     
    698698            n++; 
    699699        } 
    700         else if( (n % p_sys->i_nb_channels) == p_sys->i_channel_selected ) 
     700        else if( (n % p_sys->i_nb_channels) == (unsigned int) p_sys->i_channel_selected ) 
    701701        { 
    702702            p_out[n] = p_out[n+1] = p_in[n];