cpukit/rtems/rtemsobjectgetclassinfo.c: Address -Wsign-compare warnings

This warning occurs when comparing a signed variable to an unsigned one.
This is frequently an int or ssize_t variable compared to a uint32_t or
size_t. Sometimes the size_t is from a sizeof() use.
This commit is contained in:
Joel Sherrill
2026-01-28 11:09:47 -06:00
committed by Gedare Bloom
parent 211acc10da
commit be62df1493

View File

@@ -49,8 +49,8 @@ rtems_status_code rtems_object_get_class_information(
)
{
Objects_Information *obj_info;
int unallocated;
int i;
uint32_t unallocated;
uint32_t i;
/*
* Validate parameters and look up information structure.