summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/geom/uzip/g_uzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/uzip/g_uzip.c b/sys/geom/uzip/g_uzip.c
index d6a7d81..f05978e 100644
--- a/sys/geom/uzip/g_uzip.c
+++ b/sys/geom/uzip/g_uzip.c
@@ -453,7 +453,7 @@ g_uzip_taste(struct g_class *mp, struct g_provider *pp, int flags)
g_topology_lock();
pp2 = g_new_providerf(gp, "%s", gp->name);
pp2->sectorsize = 512;
- pp2->mediasize = sc->nblocks * sc->blksz;
+ pp2->mediasize = (off_t)sc->nblocks * sc->blksz;
pp2->flags = pp->flags & G_PF_CANDELETE;
if (pp->stripesize > 0) {
pp2->stripesize = pp->stripesize;
OpenPOWER on IntegriCloud