summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index b2c60c2..c96eb94 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -873,12 +873,13 @@ H5AC_debug(H5F_t *f)
} else {
sprintf(ascii, "%7.2f%%", miss_rate);
}
- fprintf(stderr, " %18s: %8d %8d %7s %8d%+-9d\n", s,
+ fprintf(stderr, " %18s: %8u %8u %7s %8u%+-9ld\n", s,
cache->diagnostics[i].nhits,
cache->diagnostics[i].nmisses,
ascii,
cache->diagnostics[i].ninits,
- cache->diagnostics[i].nflushes - cache->diagnostics[i].ninits);
+ ((long)(cache->diagnostics[i].nflushes) -
+ (long)(cache->diagnostics[i].ninits)));
}
FUNC_LEAVE(SUCCEED);