From 378568f2a60334beff0dc06dffd38b55d4a19e1b Mon Sep 17 00:00:00 2001 From: Francois-Xavier Le Bail Date: Mon, 30 Apr 2018 16:34:27 +0200 Subject: [PATCH] Fix some host-endian extract routines The modified routines are not currently used. --- extract.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extract.h b/extract.h index 011fccf7..6fbaddc6 100644 --- a/extract.h +++ b/extract.h @@ -329,7 +329,7 @@ EXTRACT_HE_U_2(const void *p) return val; } -static inline uint16_t +static inline int16_t EXTRACT_HE_S_2(const void *p) { int16_t val; @@ -338,7 +338,7 @@ EXTRACT_HE_S_2(const void *p) return val; } -static inline uint16_t +static inline uint32_t EXTRACT_HE_U_4(const void *p) { uint32_t val; @@ -347,7 +347,7 @@ EXTRACT_HE_U_4(const void *p) return val; } -static inline uint16_t +static inline int32_t EXTRACT_HE_S_4(const void *p) { int32_t val; -- 2.39.5