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

Oliver Lehmann oliver at FreeBSD.org
Fri Apr 28 15:56:35 CEST 2006


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
  http://www.pofo.de/
  http://wishlist.ans-netz.de/



More information about the Xfce4-dev mailing list