Given following log snippets, their explanation, and nothing else, explain what failure, if any, occurred during build of this package.

  Snippets are in a format of [X] : [Y], where [X] is a log snippet, and [Y] is the explanation.

  Snippets are delimited with '================'.

  Drawing on information from all snippets, provide a concise explanation of the issue and recommend a solution.

  Explanation of the issue, and recommended solution, should take a handful of sentences.

  Snippets:

  [flist.c: In function ‘recv_file_list’:
flist.c:2787:55: warning: cast between incompatible function types from ‘int (*)(struct file_struct **, struct file_struct **)’ to ‘int (*)(void)’ [-Wcast-function-type]
 2787 |                       sizeof the_fattr_list.files[0], (int (*)())fattr_compare);
      |                                                       ^
flist.c:2787:55: error: passing argument 4 of ‘qsort’ from incompatible pointer type [-Wincompatible-pointer-types]
 2787 |                       sizeof the_fattr_list.files[0], (int (*)())fattr_compare);
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~~~
      |                                                       |
      |                                                       int (*)(void)]: [The snippet shows current code that started to fail with the new GCC15 in Rawhide.]

Issue: Partially defined int prototype int(*)() are now int (*)(void) and these need to be explicitly defined.
Resolution: In this particular case, the function needs to be used like this: sizeof the_fattr_list.files[0], (int (*)(const void *, const void *))fattr_compare);