Commit 37be0f0e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

picture_pool: fix prototype, fix warnings

parent 2befefd4
...@@ -131,7 +131,7 @@ VLC_USED; ...@@ -131,7 +131,7 @@ VLC_USED;
/** /**
* It returns the size of the given pool. * It returns the size of the given pool.
*/ */
VLC_API int picture_pool_GetSize(picture_pool_t *); VLC_API unsigned picture_pool_GetSize(const picture_pool_t *);
#endif /* VLC_PICTURE_POOL_H */ #endif /* VLC_PICTURE_POOL_H */
......
...@@ -326,7 +326,7 @@ void picture_pool_NonEmpty(picture_pool_t *pool) ...@@ -326,7 +326,7 @@ void picture_pool_NonEmpty(picture_pool_t *pool)
vlc_mutex_unlock(&pool->lock); vlc_mutex_unlock(&pool->lock);
} }
int picture_pool_GetSize(picture_pool_t *pool) unsigned picture_pool_GetSize(const picture_pool_t *pool)
{ {
return pool->picture_count; return pool->picture_count;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment