xgamma: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 9 18:11:50 UTC 2022


 configure.ac |    2 +
 xgamma.c     |   99 +++++++++++++++++++++++++++++------------------------------
 2 files changed, 52 insertions(+), 49 deletions(-)

New commits:
commit 066b59df4a07fb426f7a4173a0e57818ab26d875
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 3 17:55:47 2022 -0700

    Use strtof() if available, instead of casting atof() to float
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 120c202bc39abfdfd7a60e407abd742e6cb218e2
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 3 17:43:16 2022 -0700

    Refactor to reduce code duplication
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 5ff5c19cb13d986315632c9c21e59a4b65fcac9c
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Thu Nov 3 17:24:22 2022 -0700

    Resolve -Wdouble-promotion warnings from clang
    
    Use 'f' suffix on const to match float type for gamma values.
    
    Add casts to double to make conversion explicit when passing to
    printf() that requires double instead of float.
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list