Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
488afc47
Commit
488afc47
authored
3 years ago
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
time/FileTime: use uint_least64_t
parent
017814ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
FileTime.hxx
src/time/FileTime.hxx
+3
-3
No files found.
src/time/FileTime.hxx
View file @
488afc47
...
@@ -35,13 +35,13 @@
...
@@ -35,13 +35,13 @@
#include <chrono>
#include <chrono>
#include <cstdint>
#include <cstdint>
constexpr
uint64_t
constexpr
uint
_least
64_t
ConstructUint64
(
DWORD
lo
,
DWORD
hi
)
noexcept
ConstructUint64
(
DWORD
lo
,
DWORD
hi
)
noexcept
{
{
return
uint
64_t
(
lo
)
|
(
uin
t64_t
(
hi
)
<<
32
);
return
uint
_least64_t
(
lo
)
|
(
uint_leas
t64_t
(
hi
)
<<
32
);
}
}
constexpr
uint64_t
constexpr
uint
_least
64_t
ToUint64
(
FILETIME
ft
)
noexcept
ToUint64
(
FILETIME
ft
)
noexcept
{
{
return
ConstructUint64
(
ft
.
dwLowDateTime
,
ft
.
dwHighDateTime
);
return
ConstructUint64
(
ft
.
dwLowDateTime
,
ft
.
dwHighDateTime
);
...
...
This diff is collapsed.
Click to expand it.
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