RTEMS | fstests/fsrdwr: Address -Wsign-compare warnings (!1000)

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Feb 5 00:31:57 UTC 2026




Gedare Bloom started a new discussion on testsuites/fstests/fsrdwr/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1000#note_141484

 >    "4Happy days are here again.5Happy days are here again.6Happy days are here "
 >    "again.7Happy days are here again.";
 >  
 > -static const size_t len = sizeof( databuf ) - 1;
 > +static const ssize_t len = sizeof (databuf) - 1;

`sizeof` is treated like a function, there should not be a space after it.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1000#note_141484
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260205/c1000825/attachment.htm>


More information about the bugs mailing list