Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
medialibrary
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
34
Issues
34
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
medialibrary
Commits
8c3d5721
Commit
8c3d5721
authored
Sep 29, 2017
by
Alexandre Fernandez
Committed by
Hugo Beauzée-Luyssen
Oct 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
File: Use std::time_t to store timestamp
Signed-off-by:
Hugo Beauzée-Luyssen
<
hugo@beauzee.fr
>
parent
3b953171
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/File.cpp
src/File.cpp
+1
-1
src/File.h
src/File.h
+1
-1
No files found.
src/File.cpp
View file @
8c3d5721
...
...
@@ -114,7 +114,7 @@ IFile::Type File::type() const
unsigned
int
File
::
lastModificationDate
()
const
{
return
m_lastModificationDate
;
return
static_cast
<
unsigned
int
>
(
m_lastModificationDate
)
;
}
unsigned
int
File
::
size
()
const
...
...
src/File.h
View file @
8c3d5721
...
...
@@ -127,7 +127,7 @@ private:
// or the full file MRL for non removable ones
std
::
string
m_mrl
;
Type
m_type
;
unsigned
in
t
m_lastModificationDate
;
std
::
time_
t
m_lastModificationDate
;
unsigned
int
m_size
;
ParserStep
m_parserSteps
;
int64_t
m_folderId
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment