Windows test failures: use binary mode for opening GRIBs

This commit is contained in:
Shahram Najm 2019-12-10 16:06:34 +00:00
parent 5a13944c8c
commit 13ead71c10
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ int main(int argc, char** argv) {
filename=argv[1];
for (i=0;i<255;i++) {
FILE* in = fopen(filename,"r"); assert(in);
FILE* in = fopen(filename,"rb"); assert(in);
h = grib_handle_new_from_file(0,in,&err); assert(h);
/* get the size of the values array*/