Merge "Alarm Conditional AppLaunch Refactoring" into tizen_2.2
[platform/framework/native/appfw.git] / src / io / FIo_DirEntryImpl.cpp
index e60b8f2..95f69c8 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -142,7 +141,7 @@ unsigned long
 _DirEntryImpl::GetFileSize(void) const
 {
        SetLastResult(E_SUCCESS);
-       return __fileSize;
+       return static_cast< unsigned long >(__fileSize);
 }
 
 bool
@@ -174,7 +173,7 @@ _DirEntryImpl::GetDateTime(void) const
 }
 
 void
-_DirEntryImpl::Set(DateTime dateTime, unsigned long fileSize, String name,
+_DirEntryImpl::Set(DateTime dateTime, off64_t fileSize, String name,
                bool dir, bool readOnly, bool hidden)
 {
        __dateTime = dateTime;