From ce8b6dae77021ebea55d88cfda47fb3cbe611ca2 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 27 Oct 2011 11:43:14 +0000 Subject: [PATCH] bugfix in H5OpenFile() --- tools/h5PartDcToVtk.cc | 2 +- tools/h5PartSurfaceToVtk.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);