Allow part(8) to make subpartitions above 4G
Change-Id: I3fd2c5de7cbb190b857eb34f16463f67a30118a3
This commit is contained in:
parent
36dcc4a4a9
commit
7eb1c60ab5
@ -1578,7 +1578,7 @@ ssize_t boot_readwrite(int rw)
|
|||||||
{
|
{
|
||||||
int r = 0;
|
int r = 0;
|
||||||
|
|
||||||
if (lseek(device, offset * SECTOR_SIZE, SEEK_SET) < 0)
|
if (lseek(device, (off_t)offset * SECTOR_SIZE, SEEK_SET) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
switch (rw) {
|
switch (rw) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user