From: Pawel Andruszkiewicz
Date: Thu, 3 Mar 2016 09:00:57 +0000 (+0100)
Subject: [Archive] Explicit conversion to unsigned type.
X-Git-Tag: submit/tizen/20160308.045434^2~7^2
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8348484dd405fb70efd11127b200a99bca5a87ff;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[Archive] Explicit conversion to unsigned type.
Fixes: SVACE 26893
Change-Id: I8591c18524792586107bef3f7077ddca4b769414
Signed-off-by: Pawel Andruszkiewicz
---
diff --git a/src/archive/filesystem_node.cc b/src/archive/filesystem_node.cc
index b12708be..60a14ef8 100644
--- a/src/archive/filesystem_node.cc
+++ b/src/archive/filesystem_node.cc
@@ -373,7 +373,7 @@ PlatformResult Node::getSize(unsigned long long* size) const
return LogAndCreateResult(ErrorCode::IO_ERR, "Specified node is not a regular file.");
}
- *size = info.st_size;
+ *size = static_cast(info.st_size);
return PlatformResult(ErrorCode::NO_ERROR);
}