summaryrefslogtreecommitdiff
path: root/send-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'send-stream.c')
-rw-r--r--send-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/send-stream.c b/send-stream.c
index ef4d8899..10b36b6a 100644
--- a/send-stream.c
+++ b/send-stream.c
@@ -204,7 +204,7 @@ out:
int __len; \
TLV_GET(s, attr, (void**)&__tmp, &__len); \
TLV_CHECK_LEN(sizeof(*__tmp), __len); \
- *v = le##bits##_to_cpu(*__tmp); \
+ *v = get_unaligned_le##bits(__tmp); \
} while (0)
#define TLV_GET_U8(s, attr, v) TLV_GET_INT(s, attr, 8, v)