summaryrefslogtreecommitdiff
path: root/partx/unixware.c
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2008-03-20 15:23:16 +0100
committerKarel Zak <kzak@redhat.com>2008-03-20 15:23:16 +0100
commit97a88ccb352f2dfd3e465aaa38e728502c4e7230 (patch)
treeff1cc5a413fa3eae0c72e0b9ae577107f0de5018 /partx/unixware.c
parent1afa7ab49d273e318648fba269b8e5e60acb64f7 (diff)
downloadutil-linux-old-97a88ccb352f2dfd3e465aaa38e728502c4e7230.tar.gz
partx: fix compiler warnings
dos.c:44: warning: pointer targets in assignment differ in signedness dos.c:93: warning: pointer targets in assignment differ in signedness Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'partx/unixware.c')
-rw-r--r--partx/unixware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/partx/unixware.c b/partx/unixware.c
index 34cc226a..c131475f 100644
--- a/partx/unixware.c
+++ b/partx/unixware.c
@@ -52,7 +52,7 @@ read_unixware_pt(int fd, struct slice all, struct slice *sp, int ns) {
struct unixware_disklabel *l;
struct unixware_slice *p;
unsigned int offset = all.start;
- char *bp;
+ unsigned char *bp;
int n = 0;
bp = getblock(fd, offset+29); /* 1 sector suffices */