This is consistent with the vlcrc syntax. Shell scripts et al. are
unlikely to be aware of the locale decimal separator anyway.
#include <vlc_common.h>
#include "../libvlc.h"
-#include "vlc_keys.h"
+#include <vlc_keys.h>
+#include <vlc_charset.h>
#ifdef HAVE_GETOPT_LONG
# ifdef HAVE_GETOPT_H
config_PutInt( p_this, psz_name, strtol(optarg, 0, 0));
break;
case CONFIG_ITEM_FLOAT:
- config_PutFloat( p_this, psz_name, (float)atof(optarg) );
+ config_PutFloat( p_this, psz_name, us_atof(optarg) );
break;
case CONFIG_ITEM_KEY:
config_PutInt( p_this, psz_name, ConfigStringToKey( optarg ) );