Fix else if and maxFileSize initializer.

Change-Id: Iac7852a4fb2add5744d5ea424d6ad5a82828f102
This commit is contained in:
bigbiff
2014-12-22 04:52:56 +01:00
committed by Dees Troy
parent a3d31fbe38
commit 0c53203efe
4 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -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);