diff options
Diffstat (limited to 'winsup/cygwin/include/asm/byteorder.h')
-rw-r--r-- | winsup/cygwin/include/asm/byteorder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/include/asm/byteorder.h b/winsup/cygwin/include/asm/byteorder.h index fd683ff9f..79e580fde 100644 --- a/winsup/cygwin/include/asm/byteorder.h +++ b/winsup/cygwin/include/asm/byteorder.h @@ -36,7 +36,7 @@ extern __inline__ uint32_t __constant_ntohl(uint32_t); extern __inline__ uint16_t __constant_ntohs(uint16_t); extern __inline__ uint32_t -__ntohl(unsigned long int x) +__ntohl(uint32_t x) { __asm__("xchgb %b0,%h0\n\t" /* swap lower bytes */ "rorl $16,%0\n\t" /* swap words */ |