block: avoid a warning on 64 bit hosts with long as int64_t