Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
| contrib/diff/src/context.c | ||
|---|---|---|
| 65 | This can't possibly be right. %j is the modifier for intmax_t. | |
Comment Actions
This fix is wrong. You will get warnings on i386, which we still support building on.
A better fix would be to do:
sprintf(buf, "%jd.%.9jd", (intmax_t)sec, (intmax_t)nsec);