mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r13442] H5system.c file didn't include H5MMprivate.h; that caused warnings on VMS; fixed
tfilter.cpp compilation failed on VMS; fixed by casting filter_bogus to (H5Z_func_t) Platforms tested: kagiso, VMS server
This commit is contained in:
parent
a0d5e09775
commit
ec41266585
@ -66,7 +66,7 @@ const H5Z_class_t H5Z_BOGUS[1] = {{
|
||||
"bogus", /* Filter name for debugging */
|
||||
NULL, /* The "can apply" callback */
|
||||
NULL, /* The "set local" callback */
|
||||
filter_bogus, /* The actual filter function */
|
||||
(H5Z_func_t)filter_bogus, /* The actual filter function */
|
||||
}};
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
|
@ -34,6 +34,7 @@
|
||||
/***********/
|
||||
#include "H5private.h" /* Generic Functions */
|
||||
#include "H5Fprivate.h" /* File access */
|
||||
#include "H5MMprivate.h" /* Memory management */
|
||||
|
||||
|
||||
/****************/
|
||||
@ -564,7 +565,7 @@ HDremove_all(const char *fname)
|
||||
int ret_value = -1;
|
||||
char *_fname;
|
||||
|
||||
_fname = H5MM_malloc(HDstrlen(fname) + 3); /* to accomodate ;* and null */
|
||||
_fname = (char *)H5MM_malloc(HDstrlen(fname) + 3); /* to accomodate ;* and null */
|
||||
if(_fname) {
|
||||
HDstrcpy(_fname, fname);
|
||||
HDstrcat(_fname,";*");
|
||||
|
Loading…
Reference in New Issue
Block a user