summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-01-29 14:46:36 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-01-29 14:46:36 (GMT)
commitcf52ce8fc45d7010e6fc21dbdee5d5b2e33dc2ce (patch)
tree00a4dd425d9dd2d9b732a7847ea8cd3c07d89ee8
parentd51c454c82435bf316423e53b6ebc72d6aa079c8 (diff)
downloadhdf5-cf52ce8fc45d7010e6fc21dbdee5d5b2e33dc2ce.zip
hdf5-cf52ce8fc45d7010e6fc21dbdee5d5b2e33dc2ce.tar.gz
hdf5-cf52ce8fc45d7010e6fc21dbdee5d5b2e33dc2ce.tar.bz2
[svn-r195] Purpose: minor bug fix
Made the ncalls declaration explicitedly 'int' type.
-rw-r--r--src/H5AC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 2897e6d..b2c60c2 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -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");
}