summaryrefslogtreecommitdiffstats
path: root/freebsd/contrib/wpa/src/utils/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/contrib/wpa/src/utils/platform.h')
-rw-r--r--freebsd/contrib/wpa/src/utils/platform.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/freebsd/contrib/wpa/src/utils/platform.h b/freebsd/contrib/wpa/src/utils/platform.h
index 46cfe785..813987eb 100644
--- a/freebsd/contrib/wpa/src/utils/platform.h
+++ b/freebsd/contrib/wpa/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 */