From e06b897fec4fa759cca91fe398777f60935a195e Mon Sep 17 00:00:00 2001 From: Sungbae Yoo Date: Mon, 22 May 2017 17:15:40 +0900 Subject: [PATCH] Change the return type of size() to off_t for LFS Signed-off-by: Sungbae Yoo --- src/filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.34.1