Debug messages: print using correct format
@@ -426,7 +426,7 @@ static void clean_string(char* s,int len)
static int check_end_data(grib_context* c,grib_accessor_bufr_data_array* self,int size)
{
- grib_context_log(c, GRIB_LOG_DEBUG,"BUFR data decoding: \tbitsToEndData=%ld elementSize=%ld", self->bitsToEndData,size);
+ grib_context_log(c, GRIB_LOG_DEBUG,"BUFR data decoding: \tbitsToEndData=%d elementSize=%d", self->bitsToEndData,size);
self->bitsToEndData-=size;
if (self->bitsToEndData<0)
return GRIB_DECODING_ERROR;
