diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2015-10-14 15:13:35 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2015-10-19 11:49:53 -0400 |
commit | 9f0fcd14b52f8481cbb3b3b9c6e06f64ff003cc8 (patch) | |
tree | 93eea16cda37583f97fc451c07663daa5cc3c2ae /os/xdmauth.c | |
parent | 610dd8a58a75bb6a5b7d7abbae476d1cc4be519e (diff) |
randr: Correct a miscall of abs() to instead call fabs()
rrtransform.c:124:22: warning: using integer absolute value function 'abs' when
argument is of floating point type [-Wabsolute-value,Semantic Issue]
if ((v = abs(f_transform->m[j][i])) > max)
^
rrtransform.c:124:22: note: use function 'fabs' instead [Semantic Issue]
if ((v = abs(f_transform->m[j][i])) > max)
^~~
fabs
Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'os/xdmauth.c')
0 files changed, 0 insertions, 0 deletions