Fix warnings

Switch to u_int64_t for ramdisk size everywhere. Removes the cast to
u_int32_t from int64_t that caused one of the warnings.