]> git.sesse.net Git - vlc/commitdiff
* src/input/input.c: Please use strtol instead of atoi for 0x syntax
authorChristophe Massiot <massiot@videolan.org>
Wed, 23 Nov 2005 15:34:20 +0000 (15:34 +0000)
committerChristophe Massiot <massiot@videolan.org>
Wed, 23 Nov 2005 15:34:20 +0000 (15:34 +0000)
   support.

src/input/input.c

index 2eb982744b7e2498be7fba42454b837034b55b66..3474f69856feb3e675bae986f5d74bff0a3e0770 100644 (file)
@@ -2450,7 +2450,7 @@ static void ParseOption( input_thread_t *p_input, const char *psz_option )
         break;
 
     case VLC_VAR_INTEGER:
-        val.i_int = atoi( psz_value );
+        val.i_int = strtol( psz_value, NULL, 0 );
         break;
 
     case VLC_VAR_FLOAT: