diff options
Diffstat (limited to 'tests/ubi-tests/rsvol.c')
-rw-r--r-- | tests/ubi-tests/rsvol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ubi-tests/rsvol.c b/tests/ubi-tests/rsvol.c index 60badb0..732bcaa 100644 --- a/tests/ubi-tests/rsvol.c +++ b/tests/ubi-tests/rsvol.c @@ -169,7 +169,7 @@ static int test_rsvol1(struct ubi_vol_info *vol_info) } if (ubi_rsvol(libubi, node, vol_info->vol_id, - vol_info->leb_size * dev_info.avail_lebs)) { + (long long)vol_info->leb_size * dev_info.avail_lebs)) { failed("ubi_rsvol"); return -1; } |