From: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> This failed on ppc64 with page size 64k. Signed-off-by: Ruediger Meier <ruediger.meier@xxxxxxxxxxx> --- misc-utils/fincore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc-utils/fincore.c b/misc-utils/fincore.c index b867c2d..425f1bf 100644 --- a/misc-utils/fincore.c +++ b/misc-utils/fincore.c @@ -188,7 +188,7 @@ static int fincore_fd (struct fincore_control *ctl, off_t file_size, off_t *count_incore) { - size_t window_size = N_PAGES_IN_WINDOW * ctl->pagesize; + size_t window_size = (size_t)N_PAGES_IN_WINDOW * ctl->pagesize; off_t file_offset; void *window = NULL; int rc = 0; -- 1.8.5.6 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html