Fix void * to int conversion
Brought to you by:
spitzak
On modern compilers/OSes, xdiskusage fails to compile due to the dubious use of void * to int casting. The attached patch attempts to fix this reasonably nicely.
All signs seems to show this project is rather stagnant - if this is the case I might well be starting up a small Google Code project to host the fix.
John.
Patch for xdiskusage 1.48
"Friendly" fork now available at http://code.google.com/p/xdiskusage-buildfix/ with RPMs built at http://download.opensuse.org/repositories/home:/johnberanek/
Newest CVS has (int)(long)(ptr) as the cast which is how I fixed this before.