summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-03 19:12:00 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-03 19:12:00 -0300
commit46d28e213ed4871a2cce22d7e13e9df49c5a8efd (patch)
tree90b16df7531734a7370b14af5d240ed1efaa4c0f /v4l
parent5e5f807782f55a61db1ee71cd236740ab6d0ee2c (diff)
downloadmediapointer-dvb-s2-46d28e213ed4871a2cce22d7e13e9df49c5a8efd.tar.gz
mediapointer-dvb-s2-46d28e213ed4871a2cce22d7e13e9df49c5a8efd.tar.bz2
fix compat.h
From: Mauro Carvalho Chehab <mchehab@infradead.org> Thanks to e9hack <e9hack@googlemail.com> for pointing this issue. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rw-r--r--v4l/compat.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 644906eb0..c480af095 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -534,13 +534,13 @@ do { \
#define put_unaligned_le16(r, a) \
put_unaligned(cpu_to_le16(r), ((unsigned short *)(a)))
#define get_unaligned_be32(a) \
- be32_to_cpu(get_unaligned((unsigned short *)(a)))
+ be32_to_cpu(get_unaligned((u32 *)(a)))
#define put_unaligned_be32(r, a) \
- put_unaligned(cpu_to_be32(r), ((unsigned short *)(a)))
+ put_unaligned(cpu_to_be32(r), ((u32 *)(a)))
#define get_unaligned_le32(a) \
- le32_to_cpu(get_unaligned((unsigned short *)(a)))
+ le32_to_cpu(get_unaligned((u32 *)(a)))
#define put_unaligned_le32(r, a) \
- put_unaligned(cpu_to_le32(r), ((unsigned short *)(a)))
+ put_unaligned(cpu_to_le32(r), ((u32 *)(a)))
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 25)
#ifdef CONFIG_PROC_FS