diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-04-27 04:25:23 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-04-27 04:25:30 +0200 |
commit | 8f52c5da76f7e536e83216a80887aab3294017be (patch) | |
tree | b6a2abb92e2af3711130406126ae96c66f001d54 /lisp/emacs-lisp/ring.el | |
parent | e1541b5cb425c87e86650873b51f699c43c44fe5 (diff) | |
download | emacs-8f52c5da76f7e536e83216a80887aab3294017be.tar.gz emacs-8f52c5da76f7e536e83216a80887aab3294017be.tar.bz2 emacs-8f52c5da76f7e536e83216a80887aab3294017be.zip |
Fix compilation warnings in non-toolkit builds
* src/xterm.c (x_create_toolkit_scroll_bar)
(x_create_horizontal_toolkit_scroll_bar): String constants for
XtSetArg are defined as const strings (in
/usr/include/X11/Xaw3d/ThreeD.h, for instance), but the argument
in XtSetArg is defined as either a const char* or a regular char*
in /usr/include/X11/Intrinsic.h. Cast the argument to String
(which should be correct on all platforms, hopefully) to avoid a
compilation warning (bug#47452).
Diffstat (limited to 'lisp/emacs-lisp/ring.el')
0 files changed, 0 insertions, 0 deletions