1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

config/options: add_opt() @min and @max parameters have to be long to

match struct option.
This commit is contained in:
Laurent MONIN 2006-06-26 17:28:45 +02:00 committed by Laurent MONIN
parent 5b84173b99
commit c3cf5b9474
2 changed files with 2 additions and 2 deletions

View File

@ -445,7 +445,7 @@ init_option_listbox_item(struct option *option)
struct option *
add_opt(struct option *tree, unsigned char *path, unsigned char *capt,
unsigned char *name, enum option_flags flags, enum option_type type,
int min, int max, void *value, unsigned char *desc)
long min, long max, void *value, unsigned char *desc)
{
struct option *option = mem_calloc(1, sizeof(*option));

View File

@ -233,7 +233,7 @@ extern union option_value *get_opt_(struct option *, unsigned char *);
extern struct option *add_opt(struct option *, unsigned char *, unsigned char *,
unsigned char *, enum option_flags, enum option_type,
int, int, void *, unsigned char *);
long, long, void *, unsigned char *);
/* Hack which permit to disable option descriptions, to reduce elinks binary size.
* It may of some use for people wanting a very small static non-i18n elinks binary,