xdpyinfo: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Dec 15 16:35:48 UTC 2022
xdpyinfo.c | 142 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 70 insertions(+), 72 deletions(-)
New commits:
commit e4688bb9e4b6e0333a84420864bf39cf4c4fa86f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Dec 8 18:46:20 2022 -0800
Call memset() instead of hand-coding our own equivalent
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 6bb053f46101e659c4f3a877bf8d17ad37a23225
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Dec 8 13:26:00 2022 -0800
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 at oracle.com>
commit 04f4911bedc988b917a268978d9592780aa34651
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Thu Dec 8 13:24:47 2022 -0800
Variable scope reduction
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list