Fix a bad declaration against the recent API
[scilab.git] / scilab / modules / hdf5 / src / c / h5_writeDataToFile.c
index b4c7410..b789bb5 100644 (file)
@@ -1793,7 +1793,7 @@ static int deleteHDF5group(int _iFile, char* _pstName)
     hid_t status = 0;
     //open group
     char* pstGroupName = createGroupName(_pstName);
-    hid_t groupID = H5Gopen(_iFile, pstGroupName);
+    hid_t groupID = H5Gopen(_iFile, pstGroupName, H5P_DEFAULT);
     if (groupID >= 0)
     {
         int i = 0;