diff options
| -rw-r--r-- | firmware/export/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index b0f6eb6..f792a13 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -235,7 +235,7 @@ static inline unsigned long SWAB32(unsigned long value) result[ 7.. 0] = value[31..24]; */ { - unsigned short hi = SWAB16(value >> 16); + unsigned long hi = SWAB16(value >> 16); unsigned long lo = SWAB16(value & 0xffff); return (lo << 16) | hi; } |