Skip to content

Commit

Permalink
Add missing parameters
Browse files Browse the repository at this point in the history
Fixes build with -std=gnu23

Fixes #974
  • Loading branch information
sthibaul committed Nov 26, 2024
1 parent 4ba45da commit de9588a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/history.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ gint message_compare_id(gconstpointer element, gconstpointer value)
return ret;
}

gint(*p_msg_comp_id) () = message_compare_id;
gint(*p_msg_comp_id) (gconstpointer element, gconstpointer value) = message_compare_id;

char *history_get_client_list()
{
Expand Down

0 comments on commit de9588a

Please sign in to comment.