diff options
author | 1996-11-25 14:44:26 +0000 | |
---|---|---|
committer | 1996-11-25 14:44:26 +0000 | |
commit | cecefea1228eb43ea78a07cb82076d714fbfb591 (patch) | |
tree | 1a7608a48f66a8c2223bc9e526f7aa4768e1e422 /sys | |
parent | Reorder includes for htons et al. (diff) | |
download | wireguard-openbsd-cecefea1228eb43ea78a07cb82076d714fbfb591.tar.xz wireguard-openbsd-cecefea1228eb43ea78a07cb82076d714fbfb591.zip |
Oops
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/include/endian.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/include/endian.h b/sys/arch/i386/include/endian.h index 2be9c3d4eba..e7eb3be5284 100644 --- a/sys/arch/i386/include/endian.h +++ b/sys/arch/i386/include/endian.h @@ -1,4 +1,4 @@ -/* $OpenBSD: endian.h,v 1.4 1996/11/25 13:11:24 niklas Exp $ */ +/* $OpenBSD: endian.h,v 1.5 1996/11/25 14:44:26 niklas Exp $ */ /* $NetBSD: endian.h,v 1.16 1995/06/01 17:19:18 mycroft Exp $ */ /* @@ -72,7 +72,7 @@ __END_DECLS #if defined(_KERNEL) && !defined(I386_CPU) #define __byte_swap_int32_variable(x) \ -({ register u_int32 __x = (x); \ +({ register u_int32_t __x = (x); \ __asm ("bswap %1" \ : "=r" (__x) \ : "0" (__x)); \ |