mirror of
https://github.com/curl/curl.git
synced 2026-08-24 20:23:40 +03:00
tool_paramhlp: make the max argument a 'double'
To fix compiler warnings "Implicit conversion from 'long' to 'double' may lose precision" Closes #9700
This commit is contained in:
parent
1de60b18de
commit
703efb3379
3 changed files with 7 additions and 6 deletions
|
|
@ -36,7 +36,7 @@ ParameterError str2num(long *val, const char *str);
|
|||
ParameterError str2unum(long *val, const char *str);
|
||||
ParameterError oct2nummax(long *val, const char *str, long max);
|
||||
ParameterError str2unummax(long *val, const char *str, long max);
|
||||
ParameterError str2udouble(double *val, const char *str, long max);
|
||||
ParameterError str2udouble(double *val, const char *str, double max);
|
||||
|
||||
ParameterError proto2num(struct OperationConfig *config,
|
||||
const char * const *val, char **obuf,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue