xcalc: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sun Jun 2 00:35:38 UTC 2019


 Makefile.am |    2 +-
 actions.c   |    3 ++-
 xcalc.c     |    6 ++----
 3 files changed, 5 insertions(+), 6 deletions(-)

New commits:
commit 74a71638ace07252e85106d87f80a62b1f07280f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 1 17:33:44 2019 -0700

    Fix -Wsign-compare warning in quit() function
    
    Reported by gcc 7.3:
    actions.c: In function ‘quit’:
    actions.c:414:60: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if (ev->type == ClientMessage && ev->xclient.data.l[0] != wm_delete_window)
                                                                ^~
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 012115650d15697e1cdc13edf770ac9775b108f4
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 1 17:29:15 2019 -0700

    Fix -Wsign-compare warning in Syntax() function
    
    Reported by gcc 7.3:
    xcalc.c: In function ‘Syntax’:
    xcalc.c:322:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i=0; i < XtNumber(Options); i++)
                     ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>

commit 7a04d51cb90b9a314eea117bc36fedb2bfaab516
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sat Jun 1 17:24:20 2019 -0700

    Pass -D_CONST_X_STRING to make libXt declare String as const char *
    
    Clears up 58 of 62 gcc -Wdiscarded-qualifiers warnings in the xcalc build
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list