[svn-r195] Purpose: minor bug fix

Made the ncalls declaration explicitedly 'int' type.
This commit is contained in:
Albert Cheng 1998-01-29 09:46:36 -05:00
parent d51c454c82
commit cf52ce8fc4

View File

@ -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");
}