diff --git a/src/config/options.c b/src/config/options.c index 61c77b17..e542b8e1 100644 --- a/src/config/options.c +++ b/src/config/options.c @@ -473,7 +473,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)); diff --git a/src/config/options.h b/src/config/options.h index 5bc1f499..6fd70982 100644 --- a/src/config/options.h +++ b/src/config/options.h @@ -253,7 +253,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,