diff --git a/cfgparser.h b/cfgparser.h index 7048c723a9..29a9beba53 100644 --- a/cfgparser.h +++ b/cfgparser.h @@ -57,7 +57,7 @@ struct config { void *p; unsigned int type; unsigned int flags; - float min,max; + double min,max; /* Use this field when your need to do something before a new value is assigned to your option */ cfg_default_func_t default_func; diff --git a/m_config.h b/m_config.h index 709ac6cdf5..78d72aa8b0 100644 --- a/m_config.h +++ b/m_config.h @@ -71,7 +71,7 @@ struct config { void *p; struct m_option_type* type; unsigned int flags; - float min,max; + double min,max; void* priv; };