mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r195] Purpose: minor bug fix
Made the ncalls declaration explicitedly 'int' type.
This commit is contained in:
parent
d51c454c82
commit
cf52ce8fc4
@ -639,7 +639,7 @@ H5AC_protect(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
|
||||
H5AC_slot_t *slot = NULL;
|
||||
|
||||
#ifdef H5AC_DEBUG
|
||||
static ncalls = 0;
|
||||
static int ncalls = 0;
|
||||
if (0 == ncalls++) {
|
||||
fprintf(stderr, "HDF5-DIAG: debugging cache (expensive)\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user