Commit c1c58444 authored by Christophe Massiot's avatar Christophe Massiot

* src/input/input.c: Please use strtol instead of atoi for 0x syntax

   support.
parent 0323f14d
...@@ -2450,7 +2450,7 @@ static void ParseOption( input_thread_t *p_input, const char *psz_option ) ...@@ -2450,7 +2450,7 @@ static void ParseOption( input_thread_t *p_input, const char *psz_option )
break; break;
case VLC_VAR_INTEGER: case VLC_VAR_INTEGER:
val.i_int = atoi( psz_value ); val.i_int = strtol( psz_value, NULL, 0 );
break; break;
case VLC_VAR_FLOAT: case VLC_VAR_FLOAT:
......
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