diff --git a/DirectVolume.h b/DirectVolume.h index de1ed8b..c0139d4 100644 --- a/DirectVolume.h +++ b/DirectVolume.h @@ -27,7 +27,7 @@ typedef android::List PathCollection; class DirectVolume : public Volume { public: - static const int MAX_PARTITIONS = 4; + static const int MAX_PARTITIONS = 32; protected: PathCollection *mPaths; int mDiskMajor; @@ -37,7 +37,7 @@ protected: int mOrigDiskMinor; int mOrigPartMinors[MAX_PARTITIONS]; int mDiskNumParts; - unsigned char mPendingPartMap; + unsigned int mPendingPartMap; int mIsDecrypted; int mFlags;