Changed disk address type from int to size_t