* lib/mountlist.c (read_file_system_list): Cast the argument of
MNT_IGNORE.
+2025-03-24 Bruno Haible <bruno@clisp.org>
+
+ mountlist: Fix a compilation error on Solaris with gcc 14.
+ * lib/mountlist.c (read_file_system_list): Cast the argument of
+ MNT_IGNORE.
+
2025-03-24 Bruno Haible <bruno@clisp.org>
gocomp-script: Improve comments.
me->me_mntroot = NULL;
me->me_type = xstrdup (mnt.mnt_fstype);
me->me_type_malloced = 1;
- me->me_dummy = MNT_IGNORE (&mnt) != 0;
+ /* The cast from 'struct extmnttab *' to 'struct mnttab *' is OK
+ because 'struct extmnttab' extends 'struct mnttab'. */
+ me->me_dummy = MNT_IGNORE ((struct mnttab *) &mnt) != 0;
me->me_remote = ME_REMOTE (me->me_devname, me->me_type);
me->me_dev = makedev (mnt.mnt_major, mnt.mnt_minor);