Fix warnings
This commit is contained in:
1 parent
6a497e1d06
commit
6bcc3fd216
3 files changed
+7
-4
No files matched your search
@@ -271,7 +271,7 @@ To safe_duration_cast(std::chrono::duration<FromRep, FromPeriod> from,
|
||||
ec = 1;
|
||||
return {};
|
||||
}
|
||||
count *= Factor::num;
|
||||
count *= static_cast<IntermediateRep>(Factor::num);
|
||||
}
|
||||
|
||||
// this can't go wrong, right? den>0 is checked earlier.
|
||||
|
||||
Reference in new issue
Block a user