See the attached patch.
Created attachment 9215 Patch
If I understand correctly, pointers to void and char are a special case and are guaranteed to be interchangeable. C11 draft, 6.2.5, point 28 > A pointer to void shall have the same representation and alignment > requirements as a pointer to a character type. Similarly, pointers > to qualified or unqualified versions of compatible types shall have > the same representation and alignment requirements... Not that it matters though, since the paranoid static assertion is compile-time only.
-- GitLab Migration Automatic Message -- This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/mousepad/-/issues/40. Please create an account or use an existing account on one of our supported OAuth providers. If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev