$NetBSD: patch-ap,v 1.3 2006/11/22 00:12:34 seb Exp $ --- xfrd/lzi_stream.c.orig 2005-08-03 23:57:58.000000000 +0000 +++ xfrd/lzi_stream.c @@ -242,7 +242,7 @@ int read_block(LZIState *s){ int err = 0, k = 0; //dprintf(">\n"); if(s->eof) goto exit; - err = unmarshal_uint32(s->io, &k); + err = unmarshal_uint32(s->io, (uint32_t *)&k); if(err) goto exit; if(k > s->inbuf_size){ err = -EINVAL;