From: Sungbae Yoo Date: Mon, 22 May 2017 08:15:40 +0000 (+0900) Subject: Change the return type of size() to off_t for LFS X-Git-Tag: submit/tizen/20170522.121243^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e06b897fec4fa759cca91fe398777f60935a195e;p=platform%2Fcore%2Fsecurity%2Fklay.git Change the return type of size() to off_t for LFS Signed-off-by: Sungbae Yoo --- diff --git a/src/filesystem.cpp b/src/filesystem.cpp index e8bfbbe..91b27a3 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -168,7 +168,7 @@ dev_t File::getDevice() const return st.st_dev; } -size_t File::size() const +off_t File::size() const { struct stat st; if (::stat(path.c_str(), &st) != 0) {