From cf52ce8fc45d7010e6fc21dbdee5d5b2e33dc2ce Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Thu, 29 Jan 1998 09:46:36 -0500 Subject: [svn-r195] Purpose: minor bug fix Made the ncalls declaration explicitedly 'int' type. --- src/H5AC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- cgit v0.12