ia64/xen-unstable

changeset 4552:17dbcf9310c2

bitkeeper revision 1.1312 (42641150UzGGr-qvbIIWNR0atSZMEA)

Trivial ggc4 cleanup from Cihula, Joseph [joseph.cihula@intel.com]
Signed-off-by: ian@xensource.com
author iap10@freefall.cl.cam.ac.uk
date Mon Apr 18 19:58:08 2005 +0000 (2005-04-18)
parents 5a8c28c62a4d
children e482f52f09bd
files tools/xfrd/lzi_stream.c
line diff
     1.1 --- a/tools/xfrd/lzi_stream.c	Mon Apr 18 17:47:08 2005 +0000
     1.2 +++ b/tools/xfrd/lzi_stream.c	Mon Apr 18 19:58:08 2005 +0000
     1.3 @@ -239,10 +239,11 @@ LZIState * LZIState_new(IOStream *io, in
     1.4  }
     1.5  
     1.6  int read_block(LZIState *s){
     1.7 -    int err = 0, k = 0;
     1.8 +    int err = 0;
     1.9 +    uint32_t k = 0;
    1.10      //dprintf(">\n");
    1.11      if(s->eof) goto exit;
    1.12 -    err = unmarshal_uint32(s->io, (unsigned int *)&k);
    1.13 +    err = unmarshal_uint32(s->io, &k);
    1.14      if(err) goto exit;
    1.15      if(k > s->inbuf_size){
    1.16          err = -EINVAL;