1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-27 02:56:18 -04:00

[session] changed declaration of handler

This commit is contained in:
Witold Filipczyk 2022-02-21 16:09:58 +01:00
parent 4748ae0281
commit 0c367b33db

View File

@ -955,7 +955,7 @@ setup_first_session(struct session *ses, struct uri *uri)
if (first_use) {
/* Only open the goto URL dialog if no URI was passed on the
* command line. */
void *handler = uri ? NULL : dialog_goto_url_open;
void (*handler)(void *) = uri ? NULL : dialog_goto_url_open;
first_use = 0;