summaryrefslogtreecommitdiff
path: root/kpartx
diff options
context:
space:
mode:
authorroot <root@xa-s05.(none)>2005-08-23 09:54:38 +0200
committerroot <root@xa-s05.(none)>2005-08-23 09:54:38 +0200
commit630e72d188b235f3823d6a460a326b2707e92a44 (patch)
treeb36f4630ed993441216eacd16064cdda6a2c1c94 /kpartx
parent94725d84f5351d526a6f9aaae3e7cba7d0313178 (diff)
downloadmultipath-tools-630e72d188b235f3823d6a460a326b2707e92a44.tar.gz
multipath-tools-630e72d188b235f3823d6a460a326b2707e92a44.tar.bz2
multipath-tools-630e72d188b235f3823d6a460a326b2707e92a44.zip
[kpartx] shut a build warning
Diffstat (limited to 'kpartx')
-rw-r--r--kpartx/dos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpartx/dos.c b/kpartx/dos.c
index 2f4e8a9..ae8ecba 100644
--- a/kpartx/dos.c
+++ b/kpartx/dos.c
@@ -26,7 +26,7 @@ read_extended_partition(int fd, struct partition *ep,
if (++loopct > 100)
return n;
- bp = getblock(fd, here);
+ bp = (unsigned char *)getblock(fd, here);
if (bp == NULL)
return n;
@@ -74,7 +74,7 @@ read_dos_pt(int fd, struct slice all, struct slice *sp, int ns) {
int i, n=0;
unsigned char *bp;
- bp = getblock(fd, offset);
+ bp = (unsigned char *)getblock(fd, offset);
if (bp == NULL)
return -1;