projects
/
platform
/
upstream
/
multipath-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94725d8
)
[kpartx] shut a build warning
author
root
<root@xa-s05.(none)>
Tue, 23 Aug 2005 07:54:38 +0000
(09:54 +0200)
committer
root
<root@xa-s05.(none)>
Tue, 23 Aug 2005 07:54:38 +0000
(09:54 +0200)
kpartx/dos.c
patch
|
blob
|
history
diff --git
a/kpartx/dos.c
b/kpartx/dos.c
index
2f4e8a9
..
ae8ecba
100644
(file)
--- 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;