Represent sizes as longs in Partition

This commit is contained in:
Davide Depau 2018-08-17 22:10:17 +02:00
parent 22bb94fc1c
commit 2f77f006c8
Signed by: depau
GPG key ID: C7D999B6A55EFE86
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ import eu.depau.etchdroid.enums.PartitionType
data class Partition(
val number: Int?,
val offset: Int?,
val size: Int?,
val size: Long?,
val partType: PartitionType?,
val partLabel: String?,
val fsType: FilesystemType?,

View file

@ -6,7 +6,7 @@ import eu.depau.etchdroid.enums.PartitionType
class PartitionBuilder {
var number: Int? = null
var offset: Int? = null
var size: Int? = null
var size: Long? = null
var partType: PartitionType? = null
var partLabel: String? = null
var fsType: FilesystemType? = null