mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-02-04 04:31:36 +00:00
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:
committed by
Gedare Bloom
parent
211acc10da
commit
be62df1493
@@ -49,8 +49,8 @@ rtems_status_code rtems_object_get_class_information(
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
Objects_Information *obj_info;
|
Objects_Information *obj_info;
|
||||||
int unallocated;
|
uint32_t unallocated;
|
||||||
int i;
|
uint32_t i;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Validate parameters and look up information structure.
|
* Validate parameters and look up information structure.
|
||||||
|
|||||||
Reference in New Issue
Block a user