We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ac1084 commit a6219bfCopy full SHA for a6219bf
virtual_oss.c
@@ -61,7 +61,7 @@ virtual_oss_wait(void)
61
62
clock_gettime(CLOCK_MONOTONIC, &ts);
63
64
- nsec = ((unsigned)ts.tv_sec) * 1000000000ULL + ts.tv_nsec;
+ nsec = ts.tv_sec * 1000000000ULL + ts.tv_nsec;
65
66
delay = voss_dsp_samples;
67
delay *= 1000000000ULL;
@@ -78,7 +78,7 @@ virtual_oss_timestamp(void)
78
79
80
81
82
return (nsec);
83
}
84
0 commit comments