arch: nios2: Fix 10.4 violations
Both operands of an operator in which the usual arithmetic conversions are performed shall have the same essential type category. Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
This commit is contained in:
parent
b7d04487e1
commit
9285b4c6bf
1 changed files with 1 additions and 1 deletions
|
@ -61,5 +61,5 @@ uint64_t arch_timing_cycles_to_ns_avg(uint64_t cycles, uint32_t count)
|
|||
|
||||
uint32_t arch_timing_freq_get_mhz(void)
|
||||
{
|
||||
return (uint32_t)(arch_timing_freq_get() / 1000000);
|
||||
return (uint32_t)(arch_timing_freq_get() / 1000000U);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue