On Fri, Nov 08, 2013 at 01:45:50AM +0100, SZEDER Gábor wrote:
> Hi,
>
> On Thu, Nov 07, 2013 at 09:59:38PM +, Ramsay Jones wrote:
> > +static inline uint64_t default_bswap64(uint64_t val)
> > +{
> > + return (((val & (uint64_t)0x00ffULL) << 56) |
> > + ((val & (uint64_
Hi,
On Thu, Nov 07, 2013 at 09:59:38PM +, Ramsay Jones wrote:
> +static inline uint64_t default_bswap64(uint64_t val)
> +{
> + return (((val & (uint64_t)0x00ffULL) << 56) |
> + ((val & (uint64_t)0xff00ULL) << 40) |
> + ((val & (uint64_t)0x000
Signed-off-by: Ramsay Jones
---
compat/bswap.h | 97 --
1 file changed, 68 insertions(+), 29 deletions(-)
diff --git a/compat/bswap.h b/compat/bswap.h
index ea1a9ed..c18a78e 100644
--- a/compat/bswap.h
+++ b/compat/bswap.h
@@ -17,7 +17,20
3 matches
Mail list logo