gmio_stl: fix GCC -Wenum-compare warnings
This commit is contained in:
parent
a5eef58d83
commit
1c9ccb6b61
@ -72,7 +72,7 @@ int gmio_stlb_read(
|
||||
const gmio_stlb_read_options_t* options)
|
||||
{
|
||||
/* Constants */
|
||||
const gmio_endianness_t byte_order =
|
||||
const int byte_order =
|
||||
options != NULL ? options->byte_order : GMIO_HOST_ENDIANNESS;
|
||||
const uint32_t max_facet_count_per_read =
|
||||
trsf != NULL ?
|
||||
|
@ -73,7 +73,7 @@ int gmio_stlb_write(
|
||||
const gmio_stlb_write_options_t* options)
|
||||
{
|
||||
/* Constants */
|
||||
const gmio_endianness_t byte_order =
|
||||
const int byte_order =
|
||||
options != NULL ? options->byte_order : GMIO_HOST_ENDIANNESS;
|
||||
const uint8_t* header_data =
|
||||
options != NULL ? options->header_data : NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user