|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Trivial ggc4 cleanup from Cihula, Joseph [joseph.cihula@xxxxxxxxx]
ChangeSet 1.1312, 2005/04/18 20:58:08+01:00, iap10@xxxxxxxxxxxxxxxxxxxxx
Trivial ggc4 cleanup from Cihula, Joseph [joseph.cihula@xxxxxxxxx]
Signed-off-by: ian@xxxxxxxxxxxxx
lzi_stream.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff -Nru a/tools/xfrd/lzi_stream.c b/tools/xfrd/lzi_stream.c
--- a/tools/xfrd/lzi_stream.c 2005-04-18 21:03:40 -04:00
+++ b/tools/xfrd/lzi_stream.c 2005-04-18 21:03:40 -04:00
@@ -239,10 +239,11 @@
}
int read_block(LZIState *s){
- int err = 0, k = 0;
+ int err = 0;
+ uint32_t k = 0;
//dprintf(">\n");
if(s->eof) goto exit;
- err = unmarshal_uint32(s->io, (unsigned int *)&k);
+ err = unmarshal_uint32(s->io, &k);
if(err) goto exit;
if(k > s->inbuf_size){
err = -EINVAL;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |