summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/H5private.h b/src/H5private.h
index f9ff043..5f755b2 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -2512,7 +2512,9 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props);
/* Union for const/non-const pointer for use by functions that manipulate
* pointers but do not write to their targets or return pointers to const
- * specified locations. This helps us avoid compiler warnings. */
+ * specified locations. Also used for I/O functions that work for read and
+ * write - these functions are expected to never write to these locations in the
+ * write case. This helps us avoid compiler warnings. */
typedef union {
void *vp;
const void *cvp;