diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-08 13:26:00 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-12-08 13:26:00 -0800 |
commit | 6bb053f46101e659c4f3a877bf8d17ad37a23225 (patch) | |
tree | 6ac8e90ee9b6e166a176cf064274bf7d0537fef5 /README.md | |
parent | 04f4911bedc988b917a268978d9592780aa34651 (diff) |
Remove unnecessary downcast of double to float
The printf family always takes double arguments, not float.
Clears clang warning of:
xdpyinfo.c:767:5: warning: implicit conversion increases floating-point
precision: 'float' to 'double' [-Wdouble-promotion]
(float)dotclock/1000.0,
^~~~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions