GCC warns about the mismatched sizes on 32-bit platforms.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 47567 Build 44454: arc lint + arc unit
Event Timeline
sys/dev/iser/iser_initiator.c | ||
---|---|---|
293 | Dropping the extra cast may lead to warnings when sizeof(uintptr_t) != sizeof(size_t) |
sys/dev/iser/iser_initiator.c | ||
---|---|---|
293 | I tried to delete this comment, since it turned out to be wrong. |
sys/dev/iser/iser_initiator.c | ||
---|---|---|
293 | Only CHERI has those and it's actually more well-defined to add offsets (size_t or ptrdiff_t) to pointers than to add two pointers together. |