]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC: r213578
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Oct 2010 13:41:09 +0000 (13:41 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 17 Oct 2010 13:41:09 +0000 (13:41 +0000)
commit207ec246b545ee5ec23c3f765250bce7832bc3f7
treeb5effc02a710d1efa590d2c8d465e207bff2d151
parent5cc8c6c17163d5adb84dd8a2d26213d48635297c
MFC: r213578

In the replacement text of the __bswapN_const() macros cast the argument
to the expected type so they work like the corresponding __bswapN_var()
functions and the compiler doesn't complain when arguments of different
width are passed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@213973 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sparc64/include/endian.h