mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 12:42:54 +08:00
fix: Cast variable to correct type
Related-To: NEO-10615 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d708c5f300
commit
92344bfce5
@@ -26,7 +26,7 @@ int getTimeFuncFalse(clockid_t clkId, struct timespec *tp) throw() {
|
||||
}
|
||||
int getTimeFuncTrue(clockid_t clkId, struct timespec *tp) throw() {
|
||||
tp->tv_sec = 0;
|
||||
tp->tv_nsec = ++actualTime;
|
||||
tp->tv_nsec = static_cast<long>(++actualTime);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user