diff --git a/tools/h5PartDcToVtk.cc b/tools/h5PartDcToVtk.cc index 00d0703..04bfd68 100755 --- a/tools/h5PartDcToVtk.cc +++ b/tools/h5PartDcToVtk.cc @@ -312,7 +312,7 @@ int main(int argc, const char *argv[]) string ifn = string(input_name) + string(".h5"); - h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, NULL); + h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, 0); if( h5file == NULL ) { fprintf(stdout, "unable to open file %s\n", input_name); diff --git a/tools/h5PartSurfaceToVtk.cc b/tools/h5PartSurfaceToVtk.cc index 9f06192..b2eadc3 100644 --- a/tools/h5PartSurfaceToVtk.cc +++ b/tools/h5PartSurfaceToVtk.cc @@ -336,7 +336,7 @@ int main(int argc, const char *argv[]) string ifn = string(input_name) + string(".h5"); - h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, NULL); + h5file = H5OpenFile(ifn.c_str(), H5_O_WRONLY, 0); if( h5file == NULL ) { fprintf(stdout, "unable to open file %s\n", input_name);