Changeset 47240a152bd03e4775f265c9c5ed8fe73e90ddee

Show
Ignore:
Timestamp:
17/04/08 07:42:42 (8 months ago)
Author:
Rafaël Carré <funman@videolan.org>
git-committer:
Rafaël Carré <funman@videolan.org> 1208410962 +0200
git-parent:

[c573b4d052a35a4dd409825c1472b0685fba2007]

git-author:
Michael Ploujnikov <ploujj@gmail.com> 1208395293 -0400
Message:

fixed misc/stats.c:399: warning: comparison between signed and unsigned in function 'stats_TimerClean'

Based on usage of i_id, other stats_* functions and my opinion i_id should be unsigned int instead of int, but I might be missing the bigger picture related to changing public APIs. Please, let me know how to correctly deal with such warnings.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • include/vlc_messages.h

    r21c9059 r47240a1  
    378378 
    379379#define stats_TimerClean(a,b) __stats_TimerClean( VLC_OBJECT(a), b ) 
    380 VLC_EXPORT( void, __stats_TimerClean, (vlc_object_t *, int ) ); 
     380VLC_EXPORT( void, __stats_TimerClean, (vlc_object_t *, unsigned int ) ); 
    381381 
    382382#endif 
  • src/misc/stats.c

    rd526448 r47240a1  
    390390} 
    391391 
    392 void __stats_TimerClean( vlc_object_t *p_obj, int i_id ) 
     392void __stats_TimerClean( vlc_object_t *p_obj, unsigned int i_id ) 
    393393{ 
    394394    int i;