1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

Stop amd64 warnings.

This commit is contained in:
Poul-Henning Kamp 2004-10-23 12:42:18 +00:00
parent c283653201
commit 091aa0964b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=136808
2 changed files with 8 additions and 6 deletions

View File

@ -125,13 +125,14 @@ main(int argc, const char **argv)
else
j = i;
if (j != i)
printf("\nWrite error at %jd/%d\n",
lp->start, i);
printf("\nWrite error at %jd/%jd\n",
lp->start, (intmax_t)i);
lp->start += i;
lp->len -= i;
continue;
}
printf("\n%jd %d failed %d\n", lp->start, i, errno);
printf("\n%jd %jd failed %d\n",
lp->start, (intmax_t)i, errno);
new_lump(lp->start, i, lp->state + 1);
lp->start += i;
lp->len -= i;

View File

@ -125,13 +125,14 @@ main(int argc, const char **argv)
else
j = i;
if (j != i)
printf("\nWrite error at %jd/%d\n",
lp->start, i);
printf("\nWrite error at %jd/%jd\n",
lp->start, (intmax_t)i);
lp->start += i;
lp->len -= i;
continue;
}
printf("\n%jd %d failed %d\n", lp->start, i, errno);
printf("\n%jd %jd failed %d\n",
lp->start, (intmax_t)i, errno);
new_lump(lp->start, i, lp->state + 1);
lp->start += i;
lp->len -= i;