Changeset 47240a152bd03e4775f265c9c5ed8fe73e90ddee
- 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
| r21c9059 |
r47240a1 |
|
| 378 | 378 | |
|---|
| 379 | 379 | #define stats_TimerClean(a,b) __stats_TimerClean( VLC_OBJECT(a), b ) |
|---|
| 380 | | VLC_EXPORT( void, __stats_TimerClean, (vlc_object_t *, int ) ); |
|---|
| | 380 | VLC_EXPORT( void, __stats_TimerClean, (vlc_object_t *, unsigned int ) ); |
|---|
| 381 | 381 | |
|---|
| 382 | 382 | #endif |
|---|
| rd526448 |
r47240a1 |
|
| 390 | 390 | } |
|---|
| 391 | 391 | |
|---|
| 392 | | void __stats_TimerClean( vlc_object_t *p_obj, int i_id ) |
|---|
| | 392 | void __stats_TimerClean( vlc_object_t *p_obj, unsigned int i_id ) |
|---|
| 393 | 393 | { |
|---|
| 394 | 394 | int i; |
|---|