Commit 8c3d5721 authored by Alexandre Fernandez's avatar Alexandre Fernandez Committed by Hugo Beauzée-Luyssen

File: Use std::time_t to store timestamp

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 3b953171
...@@ -114,7 +114,7 @@ IFile::Type File::type() const ...@@ -114,7 +114,7 @@ IFile::Type File::type() const
unsigned int File::lastModificationDate() const unsigned int File::lastModificationDate() const
{ {
return m_lastModificationDate; return static_cast<unsigned int>( m_lastModificationDate );
} }
unsigned int File::size() const unsigned int File::size() const
......
...@@ -127,7 +127,7 @@ private: ...@@ -127,7 +127,7 @@ private:
// or the full file MRL for non removable ones // or the full file MRL for non removable ones
std::string m_mrl; std::string m_mrl;
Type m_type; Type m_type;
unsigned int m_lastModificationDate; std::time_t m_lastModificationDate;
unsigned int m_size; unsigned int m_size;
ParserStep m_parserSteps; ParserStep m_parserSteps;
int64_t m_folderId; int64_t m_folderId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment