tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: type behavior of sys/endian.h
On Tue, 21 Jul 2009, Joerg Sonnenberger wrote:
> On Sun, Jul 12, 2009 at 04:54:11PM +0000, David Holland wrote:
> > Or maybe they should be made inline functions instead so they don't
> > fail silently if passed pointers.
>
> Any objections to the attached patch?
should you also cast in the __identNN call as is done for the bswapNN
call?
eg
+#define htole16(x) __ident16((uint16_t)(x))
iain
Home |
Main Index |
Thread Index |
Old Index