[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in endianess conversion in disk_sun.c
From: |
Jakub Bogusz |
Subject: |
bug in endianess conversion in disk_sun.c |
Date: |
Tue, 16 Dec 2003 12:06:48 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
I found a bug in endianess conversion in disk_sun.c.
SUN_DISK_MAGIC is 16 bits long, but was converted as 32-bit.
It caused warning (and error because of -Werror) when compiling using
gcc 3.x on big-endians.
Patch attached.
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Linux http://www.pld-linux.org/
parted-endian.patch
Description: Text document
- bug in endianess conversion in disk_sun.c,
Jakub Bogusz <=