RTEMS | libtests: Address -Wsign-compare warnings (!925)
Joel Sherrill (@joel)
gitlab at rtems.org
Tue Jan 20 01:40:56 UTC 2026
Joel Sherrill commented on a discussion on testsuites/libtests/dumpbuf01/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/925#note_139281
>
> /* forward declarations to avoid warnings */
> rtems_task Init(rtems_task_argument argument);
> -void do_test(int length);
> +void do_test(size_t length);
>
> unsigned char Buffer[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890\n";
>
> void do_test(
> - int length
> + size_t length
> )
> {
> printf( "====== Printing %d Bytes ======\n", length );
Good catch. Fixed in next push.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/925#note_139281
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/20260120/e32c6f1f/attachment.htm>
More information about the bugs
mailing list