libXaw: Changes to 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Nov 13 23:16:54 UTC 2024


 src/TextPop.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0d0072e4e5aa22c1980782979b973ca3e711f0a6
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Sun Nov 10 13:38:42 2024 -0800

    TextPop: do arithmetic before casting to pointer, not after
    
    Clears warning from clang 13.0.1:
    
    TextPop.c:679:64: warning: arithmetic on a null pointer treated as a cast
     from integer to pointer is a GNU extension [-Wnull-pointer-arithmetic]
        XtSetArg(args[num_args], XtNradioData, (XPointer)XawsdLeft + R_OFFSET);
                                               ~~~~~~~~~~~~~~~~~~~ ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/merge_requests/38>



More information about the xorg-commit mailing list