xarchiver: fixing a 64bit warning / does not work on amd64

Stephan Arts psybsd at gmail.com
Fri Apr 28 17:11:41 CEST 2006


On 4/28/06, Oliver Lehmann <oliver at freebsd.org> wrote:
> Hi,
>
> several 64bit related warnings can be fixed by using
>
>   GINT_TO_POINTER (mode)
>
> instead of
>
>  gpointer (mode)
>
> which results for example in:
>
> gzip.c: In function `OpenGzip':
> gzip.c:38: warning: cast to pointer from integer of different size
>
>
> Even if  that warning is fixed, I cannot open any tar archive on my
> FreeBSD 6.1-PRERELEASE
>
> If I try so xarchiver tries to load (very fast moving of the progressbar)
> but nothing happens...
>
> olivleh1 at kartoffel olivleh1> dd if=/dev/urandom of=lala bs=1M count=1
> 1+0 records in
> 1+0 records out
> 1048576 bytes transferred in 0.021298 secs (49233701 bytes/sec)
> olivleh1 at kartoffel olivleh1> tar -cf lala.tar lala
> olivleh1 at kartoffel olivleh1> xarchiver lala.tar
>
> and there it goes... "Please wait while the content of the archive is
> being read..."
>
>
> --
>  Oliver Lehmann

This is a 3.2 bug right? -- which reminds me:
Giuseppe, could you tag 3.2 in svn?

Stephan



More information about the Xfce4-dev mailing list