Skip to content
Snippets Groups Projects
Commit 050f9667 authored by Daniel Reinert's avatar Daniel Reinert :grimacing:
Browse files

fix type of variable from int to short

parent 6c801fc0
No related branches found
No related tags found
No related merge requests found
Pipeline #33947 failed
......@@ -106,7 +106,8 @@ secofday_decode(double secondOfDay)
const int fullSeconds = (int) secondOfDay;
time.ms = (int) lround((secondOfDay - fullSeconds) * 1000);
// time.ms = (int) lround((secondOfDay - fullSeconds) * 1000);
time.ms = (short) lround((secondOfDay - fullSeconds) * 1000);
const int hour = fullSeconds / 3600;
const int minute = fullSeconds / 60 - hour * 60;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment