gmio_stl: fix GCC -Wenum-compare warnings

This commit is contained in:
Hugues Delorme 2015-03-20 10:08:35 +01:00
parent a5eef58d83
commit 1c9ccb6b61
2 changed files with 2 additions and 2 deletions

View File

@ -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 ?

View File

@ -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;