Mercurial > hg > octave-lyh
changeset 4990:21b4124e31af
[project @ 2004-09-11 13:37:06 by jwe]
author | jwe |
---|---|
date | Sat, 11 Sep 2004 13:37:06 +0000 |
parents | 19b73a80e1d9 |
children | b38ef92e443e |
files | src/ov-fcn-handle.cc |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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<void*> (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<void*> (stmp.c_str ())) < 0) + X_CAST (void *, stmp.c_str ())) < 0) { H5Sclose (space_hid); H5Tclose (type_hid);