mirror of https://github.com/ecmwf/eccodes.git
Compiler warnings: Conversion from size_t to int
This commit is contained in:
parent
96bdbcd70f
commit
0466577c1e
|
@ -557,7 +557,8 @@ static int pack_long(grib_accessor* a, const long* val, size_t* len)
|
|||
|
||||
static int value_count(grib_accessor* a, long* count)
|
||||
{
|
||||
int ret = 0, size, type, idx;
|
||||
int ret = 0, type = 0, idx = 0;
|
||||
size_t size = 0;
|
||||
grib_accessor_bufr_data_element* self = (grib_accessor_bufr_data_element*)a;
|
||||
|
||||
if (!self->compressedData) {
|
||||
|
|
|
@ -137,7 +137,7 @@ bufr_descriptors_array* grib_bufr_descriptors_array_append(bufr_descriptors_arra
|
|||
|
||||
bufr_descriptors_array* grib_bufr_descriptors_array_push_front(bufr_descriptors_array* v, bufr_descriptor* val)
|
||||
{
|
||||
int i;
|
||||
size_t i = 0;
|
||||
if (!v) {
|
||||
size_t start_size = DYN_ARRAY_SIZE_INIT;
|
||||
size_t start_incsize = DYN_ARRAY_SIZE_INCR;
|
||||
|
|
Loading…
Reference in New Issue