summaryrefslogtreecommitdiff
path: root/src/utils/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/platform.h')
-rw-r--r--src/utils/platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/platform.h b/src/utils/platform.h
index 46cfe785e180..813987eb6606 100644
--- a/src/utils/platform.h
+++ b/src/utils/platform.h
@@ -15,7 +15,7 @@
\
__ptr->__val; \
})
-#define get_unaligned_le16(p) le16_to_cpu(get_unaligned((uint16_t *)(p)))
-#define get_unaligned_le32(p) le32_to_cpu(get_unaligned((uint32_t *)(p)))
+#define get_unaligned_le16(p) le16_to_cpu(get_unaligned((le16 *)(p)))
+#define get_unaligned_le32(p) le32_to_cpu(get_unaligned((le32 *)(p)))
#endif /* PLATFORM_H */