# HG changeset patch # User jwe # Date 1094909826 0 # Node ID 21b4124e31af6b738af8c6d10c41c96baefee789 # Parent 19b73a80e1d9fe947f52767ec595ecd9da8b7857 [project @ 2004-09-11 13:37:06 by jwe] diff --git a/src/ov-fcn-handle.cc b/src/ov-fcn-handle.cc --- a/src/ov-fcn-handle.cc +++ b/src/ov-fcn-handle.cc @@ -273,7 +273,7 @@ data_hid = H5Dcreate (group_hid, "nm", type_hid, space_hid, H5P_DEFAULT); if (data_hid < 0 || H5Dwrite (data_hid, type_hid, H5S_ALL, H5S_ALL, H5P_DEFAULT, - static_cast (nm.c_str ())) < 0) + X_CAST (void *, nm.c_str ())) < 0) { H5Sclose (space_hid); H5Tclose (type_hid); @@ -301,7 +301,7 @@ H5P_DEFAULT); if (data_hid < 0 || H5Dwrite (data_hid, type_hid, H5S_ALL, H5S_ALL, H5P_DEFAULT, - static_cast (stmp.c_str ())) < 0) + X_CAST (void *, stmp.c_str ())) < 0) { H5Sclose (space_hid); H5Tclose (type_hid);