summaryrefslogtreecommitdiffstats
path: root/mtp/mtp_MtpServer.cpp
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2014-12-21 19:41:26 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-22 04:52:56 +0100
commit0c53203efe377196e2bf22290fed000c7ee38870 (patch)
tree7db4bcf115bb48b79be14979331c8f8d78fb27e7 /mtp/mtp_MtpServer.cpp
parentfixPermissions: simplify code, fix bugs (diff)
downloadandroid_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.gz
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.bz2
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.lz
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.xz
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.tar.zst
android_bootable_recovery-0c53203efe377196e2bf22290fed000c7ee38870.zip
Diffstat (limited to 'mtp/mtp_MtpServer.cpp')
-rwxr-xr-xmtp/mtp_MtpServer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mtp/mtp_MtpServer.cpp b/mtp/mtp_MtpServer.cpp
index f49270fdf..5f509eb0d 100755
--- a/mtp/mtp_MtpServer.cpp
+++ b/mtp/mtp_MtpServer.cpp
@@ -130,7 +130,7 @@ void twmtp_MtpServer::add_storage()
int storageID = stores->at(i)->mtpid;
long reserveSpace = 1;
bool removable = false;
- long maxFileSize = stores->at(i)->maxFileSize;
+ uint64_t maxFileSize = stores->at(i)->maxFileSize;
if (descriptionStr != "") {
MtpStorage* storage = new MtpStorage(storageID, &pathStr[0], &descriptionStr[0], reserveSpace, removable, maxFileSize, refserver);
server->addStorage(storage);