diff --git a/src/global.c b/src/global.c index 15f87d65d411fbf62a75fd905a3865f7f3ea8499..b6078a9549b3da6f0ca4735693b36739a6ae99a1 100644 --- a/src/global.c +++ b/src/global.c @@ -215,9 +215,9 @@ void sc_init_one(shortcut **shortcutage, int ctrlval, const char *desc, } #ifndef NANO_SMALL -/* Create one new toggle structure, at the end of the toggles - * linked list. */ -void toggle_init_one(int val, const char *desc, int flag) +/* Create one new toggle structure, at the end of the toggles linked + * list. */ +void toggle_init_one(int val, const char *desc, long flag) { toggle *u; diff --git a/src/proto.h b/src/proto.h index f65a1a53fb60ab4ddb28e29695389fae37118754..db7d575791580e9b8a1a43af07cb94ac4eab6da6 100644 --- a/src/proto.h +++ b/src/proto.h @@ -225,7 +225,7 @@ void sc_init_one(shortcut **shortcutage, int key, const char *desc, int metaval, int funcval, int miscval, int view, void (*func)(void)); #ifndef NANO_SMALL -void toggle_init_one(int val, const char *desc, int flag); +void toggle_init_one(int val, const char *desc, long flag); void toggle_init(void); #ifdef DEBUG void free_toggles(void);