diff options
author | Karel Zak | 2008-03-20 15:23:16 +0100 |
---|---|---|
committer | Karel Zak | 2008-03-20 15:23:16 +0100 |
commit | 97a88ccb352f2dfd3e465aaa38e728502c4e7230 (patch) | |
tree | ff1cc5a413fa3eae0c72e0b9ae577107f0de5018 /partx/bsd.c | |
parent | chfn: fix compiler warnings in selinux stuff (diff) | |
download | kernel-qcow2-util-linux-97a88ccb352f2dfd3e465aaa38e728502c4e7230.tar.gz kernel-qcow2-util-linux-97a88ccb352f2dfd3e465aaa38e728502c4e7230.tar.xz kernel-qcow2-util-linux-97a88ccb352f2dfd3e465aaa38e728502c4e7230.zip |
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/bsd.c')
-rw-r--r-- | partx/bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/partx/bsd.c b/partx/bsd.c index 531c36c23..4532c3241 100644 --- a/partx/bsd.c +++ b/partx/bsd.c @@ -52,7 +52,7 @@ read_bsd_pt(int fd, struct slice all, struct slice *sp, int ns) { struct bsd_partition *p; unsigned int offset = all.start; int max_partitions; - char *bp; + unsigned char *bp; int n = 0; bp = getblock(fd, offset+1); /* 1 sector suffices */ |