From ca68ba491423bb74810e5218d98877fface13417 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 2 Jan 2006 14:59:11 -0500 Subject: [svn-r11852] Purpose: Code cleanup/update Description: Update compiler flags for gcc 4.1.x & start cleaning up some of the C++ compatibility Platforms tested: FreeBSD 4.11 (sleipnir) w/gcc 4.1 and/or g++ --- src/H5.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5.c b/src/H5.c index d381e0c..5182d8e 100644 --- a/src/H5.c +++ b/src/H5.c @@ -2154,7 +2154,7 @@ H5_trace (const double *returning, const char *func, const char *type, ...) /* Save the rank of simple data spaces for arrays */ /* This may generate recursive call to the library... -QAK */ { - H5S_t *space = H5I_object(obj); + H5S_t *space = (H5S_t *)H5I_object(obj); if (H5S_SIMPLE==H5S_GET_EXTENT_TYPE(space)) { asize[argno] = H5S_GET_EXTENT_NDIMS(space); } @@ -2400,7 +2400,7 @@ H5_trace (const double *returning, const char *func, const char *type, ...) /* Get the class name and print it */ /* This may generate recursive call to the library... -QAK */ - if(NULL != (pclass = H5I_object(pclass_id)) && + if(NULL != (pclass = (H5P_genclass_t *)H5I_object(pclass_id)) && (class_name=H5P_get_class_name(pclass))!=NULL) { fprintf (out, class_name); H5MM_xfree(class_name); -- cgit v0.12