This shows up when compiling valectl on a 32 bit platform like i386 and mips32.
gcc-6.4 complains about this.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
ryan - I'll push this later today, but i figured you would want to see it as well :-)
Comment Actions
LGTM. The same construct is seen in other assignments to pointers from nr_body.
I recommend putting the name of the warning you're solving in the commit log somewhere (-Wint-to-pointer-cast, right?).
The i386 kernel has a lot more of these due to PAE, but I haven't dug in to those.