Fix two quad_t casts, one reported by wcp@lpds.sublink.org
This commit is contained in:
parent
cb879adb6f
commit
54e237873e
@ -544,7 +544,7 @@ dump_file (p, curdev, toplevel)
|
||||
}
|
||||
if (save_linkflag == LF_SPARSE)
|
||||
{
|
||||
if (finish_sparse_file (f, &sizeleft, hstat.st_size, p))
|
||||
if (finish_sparse_file (f, &sizeleft, (long) hstat.st_size, p))
|
||||
goto padit;
|
||||
}
|
||||
else
|
||||
@ -574,7 +574,7 @@ dump_file (p, curdev, toplevel)
|
||||
if (count < 0)
|
||||
{
|
||||
msg_perror ("read error at byte %ld, reading\
|
||||
%d bytes, in file %s", hstat.st_size - sizeleft, bufsize, p);
|
||||
%d bytes, in file %s", (long) hstat.st_size - sizeleft, bufsize, p);
|
||||
goto padit;
|
||||
}
|
||||
sizeleft -= count;
|
||||
|
Loading…
Reference in New Issue
Block a user