drm/amd/display: Remove compiler warning
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Reviewed-by: Aric Cyr <Aric.Cyr@amd.com> Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> Signed-off-by: Cruise Hung <Cruise.Hung@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0081bc0728
commit
5d763a9955
|
@ -322,7 +322,7 @@ struct fixed31_32 dc_fixpt_sqr(struct fixed31_32 arg);
|
|||
*/
|
||||
static inline struct fixed31_32 dc_fixpt_div_int(struct fixed31_32 arg1, long long arg2)
|
||||
{
|
||||
return dc_fixpt_from_fraction(arg1.value, dc_fixpt_from_int(arg2).value);
|
||||
return dc_fixpt_from_fraction(arg1.value, dc_fixpt_from_int((int)arg2).value);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue