https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113559
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #3 from Gaius Mulley <gaius at gcc dot gnu.org> --- > Created attachment 57205 > --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57205&action=edit > Proposed fix v2 > > Correction the cast should be the signed sizetype CSSIZE_T. I've just successfully tested this version on both i386-pc-solaris2.11 and sparc-sun-solaris2.11. Thanks.