diff options
-rw-r--r-- | sbin/savecore/savecore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c index 5c6bdb5..60b049d 100644 --- a/sbin/savecore/savecore.c +++ b/sbin/savecore/savecore.c @@ -604,7 +604,7 @@ get_dumpsize() /* Read the dump size. */ DumpRead(dumpfd, &kdumpsize, sizeof(kdumpsize), (off_t)(dumplo + ok(dump_nl[X_DUMPSIZE].n_value)), L_SET); - dumpsize = kdumpsize * getpagesize(); + dumpsize = (off_t)kdumpsize * getpagesize(); } /* |