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

input: use unsigned atomic value

parent d22cf31f
......@@ -812,7 +812,7 @@ input_item_NewWithType( const char *psz_uri, const char *psz_name,
int i_options, const char *const *ppsz_options,
unsigned flags, mtime_t duration, int type )
{
static atomic_int last_input_id = ATOMIC_VAR_INIT(0);
static atomic_uint last_input_id = ATOMIC_VAR_INIT(0);
input_item_owner_t *owner = calloc( 1, sizeof( *owner ) );
if( unlikely(owner == NULL) )
......
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