ECC-394: Fix broken Visual Studio build

This commit is contained in:
Shahram Najm 2018-01-02 16:44:44 +00:00
parent 62cfacc0ae
commit 2152ea86e0
3 changed files with 3 additions and 3 deletions

View File

@ -386,9 +386,9 @@ static void dump_long(grib_dumper* d,grib_accessor* a, const char* comment)
fprintf(self->dumper.out," CODES_CHECK(codes_set_long_array(h, \"%s\", ivalues, size), 0);\n",a->name);
} else {
int doing_unexpandedDescriptors=0;
r=compute_bufr_key_rank(h,self->keys,a->name);
sval=lval_to_string(c,value);
int doing_unexpandedDescriptors=0;
if (r!=0) {
fprintf(self->dumper.out," CODES_CHECK(codes_set_long(h, \"#%d#%s\", ", r,a->name);
} else {

View File

@ -395,9 +395,9 @@ static void dump_long(grib_dumper* d,grib_accessor* a, const char* comment)
fprintf(self->dumper.out," call codes_set(ibufr,'%s',ivalues)\n",a->name);
} else {
int doing_unexpandedDescriptors=0;
r=compute_bufr_key_rank(h,self->keys,a->name);
sval=lval_to_string(c,value);
int doing_unexpandedDescriptors=0;
if (r!=0) {
fprintf(self->dumper.out," call codes_set(ibufr,'#%d#%s',",r,a->name);
} else {

View File

@ -379,9 +379,9 @@ static void dump_long(grib_dumper* d, grib_accessor* a, const char* comment)
fprintf(self->dumper.out," codes_set_array(ibufr, '%s', ivalues)\n",a->name);
} else {
int doing_unexpandedDescriptors=0;
r=compute_bufr_key_rank(h,self->keys,a->name);
sval=lval_to_string(c,value);
int doing_unexpandedDescriptors=0;
if (r!=0) {
fprintf(self->dumper.out," codes_set(ibufr, '#%d#%s', ",r,a->name);
} else {