From 8348484dd405fb70efd11127b200a99bca5a87ff Mon Sep 17 00:00:00 2001
From: Pawel Andruszkiewicz
Date: Thu, 3 Mar 2016 10:00:57 +0100
Subject: [PATCH] [Archive] Explicit conversion to unsigned type.
Fixes: SVACE 26893
Change-Id: I8591c18524792586107bef3f7077ddca4b769414
Signed-off-by: Pawel Andruszkiewicz
---
src/archive/filesystem_node.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
--
2.34.1