patch-2.1.82 linux/fs/ufs/ufs_swab.c

Next file: linux/include/asm-alpha/mman.h
Previous file: linux/fs/sysv/namei.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.81/linux/fs/ufs/ufs_swab.c linux/fs/ufs/ufs_swab.c
@@ -117,8 +117,8 @@
 	be32_to_cpus(&usb->fs_cpc);
         be16_to_cpus__between(*usb,fs_opostbl,fs_sparecon);
         be32_to_cpus__between(*usb,fs_sparecon,fs_qbmask);
-        be64_to_cpus(&usb->fs_qbmask);
-        be64_to_cpus(&usb->fs_qfmask);
+        be64_to_cpus((__u64 *) &usb->fs_qbmask);
+        be64_to_cpus((__u64 *) &usb->fs_qfmask);
 	be32_to_cpus__between(*usb,fs_postblformat,fs_magic);
 #endif
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov