This patch fixes some debug print statements. In some cases a long long
was cast to a pointer, which causes a warning when compiling 32-bit
code. In addition filedisk had some references to variables that didn't
exist, presumably because the code was taken from ramdisk.
With kind regards,
Erik