Change the return type of size() to off_t for LFS accepted/tizen/unified/20170522.190730 submit/tizen/20170522.121243 tizen_4.0.m1_release
authorSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 22 May 2017 08:15:40 +0000 (17:15 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 22 May 2017 08:15:40 +0000 (17:15 +0900)
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
src/filesystem.cpp

index e8bfbbe43cad473d9df14f12d00bedf7942d074d..91b27a385a045086bc4975015d38f4cb4ace2d88 100644 (file)
@@ -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) {