File acct-gcc15.patch of Package acct

--- acct-6.6.4.orig/sa.c	2025-05-05 14:16:31.365703678 +0000
+++ acct-6.6.4/sa.c	2025-05-05 14:17:40.382751367 +0000
@@ -1518,7 +1518,7 @@ void print_user_list(void)
   Remember to correct the number of elements to adjust... */
 
   qsort (entry_array + 1, (size_t) num_users - 1,
-         sizeof (struct hashtab_elem *), (int (*)()) compare_user_entry);
+         sizeof (struct hashtab_elem *), (int (*)(const void *, const void *)) compare_user_entry);
 
   /* Now we've got a sorted list of user entries. */
 
@@ -1698,7 +1698,7 @@ void print_command_list(void)
      than the number of commands */
 
   qsort (entry_array + 1, (size_t) num_commands - 1,
-         sizeof (struct hashtab_entry *), (int (*)()) compare_sum_entry);
+         sizeof (struct hashtab_entry *), (int (*)(const void *, const void *)) compare_sum_entry);
 
   for (temp = 0; temp < num_commands; temp++)
     {

openSUSE Build Service is sponsored by