Skip to content

Commit a1aa99f

Browse files
committed
fix
1 parent 483c921 commit a1aa99f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/cmdr11/include/cmdr11/cmdr_chrono.hh

+1-1
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ namespace cmdr::chrono {
570570
else { // if (iom_::has(iom_::fmtflags::local))
571571
#if defined(_WIN32) || defined(_WIN64)
572572
std::tm tm1;
573-
time_t now = time(0);
573+
time_t now = time_t{0};
574574
localtime_s(&tm1, &now);
575575
tm = &tm1;
576576
#else

0 commit comments

Comments
 (0)