summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-11-10 20:45:35 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-11-10 20:45:35 (GMT)
commit06d7d06a2bb95be6367b8291c035f0332f687ca7 (patch)
treebdc30caf8c094e72774ce0934c67c430ed5068ef
parentab3a1ae1dfd08b2029f8256c076638db58e91149 (diff)
downloadhdf5-06d7d06a2bb95be6367b8291c035f0332f687ca7.zip
hdf5-06d7d06a2bb95be6367b8291c035f0332f687ca7.tar.gz
hdf5-06d7d06a2bb95be6367b8291c035f0332f687ca7.tar.bz2
[svn-r2859] ./hdf5/src/H5P.c
* 2000-11-10 Robb Matzke <matzke@llnl.gov> (H5P_copy) Changed `class' to `cls'. * 2000-11-10 Robb Matzke <matzke@llnl.gov> (H5P_close) Changed `class' to `cls'.
-rw-r--r--src/H5P.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 3f5effc..b1a274d 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -453,7 +453,7 @@ H5P_close(void *_plist)
HRETURN (SUCCEED);
/* Some property lists may need to do special things */
- switch (plist->class) {
+ switch (plist->cls) {
case H5P_FILE_ACCESS:
if (fa_list->driver_id>=0) {
H5FD_fapl_free(fa_list->driver_id, fa_list->driver_info);
@@ -699,7 +699,7 @@ H5P_copy (H5P_class_t type, const void *src)
HDmemcpy(dst, src, size);
/* Set the type of the property list */
- dst->class=type;
+ dst->cls=type;
/* Deep-copy pointers */
switch (type) {