mirror of https://github.com/ecmwf/eccodes.git
Windows test failures: use binary mode for opening GRIBs
This commit is contained in:
parent
5a13944c8c
commit
13ead71c10
|
@ -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*/
|
||||
|
|
Loading…
Reference in New Issue