summaryrefslogtreecommitdiff
path: root/include/X11/Xaw/Scrollbar.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2024-11-10 13:38:42 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-11-10 14:16:49 -0800
commit0d0072e4e5aa22c1980782979b973ca3e711f0a6 (patch)
treec47de63e293e2a72bb60c8b2ced6e760b5abb456 /include/X11/Xaw/Scrollbar.h
parentaf1a1d42cb48a129b95b44880a8fa65fda220bcb (diff)
TextPop: do arithmetic before casting to pointer, not afterHEADmaster
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@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxaw/-/merge_requests/38>
Diffstat (limited to 'include/X11/Xaw/Scrollbar.h')
0 files changed, 0 insertions, 0 deletions