mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-15 16:39:03 +08:00
1f0db1f06a
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
23 lines
951 B
Diff
23 lines
951 B
Diff
diff --git a/ThirdParty/h5part/vtkh5part/src/H5Part.c b/ThirdParty/h5part/vtkh5part/src/H5Part.c
|
|
index 228d246..41af04d 100644
|
|
--- a/ThirdParty/h5part/vtkh5part/src/H5Part.c
|
|
+++ b/ThirdParty/h5part/vtkh5part/src/H5Part.c
|
|
@@ -2092,7 +2092,7 @@ _H5Part_iteration_operator2 (
|
|
case H5L_TYPE_HARD: {
|
|
|
|
H5O_info_t objinfo;
|
|
- if( H5Oget_info_by_name( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) {
|
|
+ if( H5Oget_info_by_name1( group_id, member_name, &objinfo, H5P_DEFAULT ) < 0 ) {
|
|
return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name );
|
|
}
|
|
|
|
@@ -2142,7 +2142,7 @@ _H5Part_iteration_operator2 (
|
|
if ( obj_id < 0 ) {
|
|
return (herr_t)HANDLE_H5G_OPEN_ERR ( member_name );
|
|
}
|
|
- else if ( H5Oget_info ( obj_id, &objinfo ) < 0 ) {
|
|
+ else if ( H5Oget_info1 ( obj_id, &objinfo ) < 0 ) {
|
|
return (herr_t)HANDLE_H5G_GET_OBJINFO_ERR ( member_name );
|
|
}
|
|
else {
|