diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2019-11-26 19:05:01 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2019-11-26 19:06:49 -0500 |
commit | 197e9d055f3cd351ae73551955ff463294b965bf (patch) | |
tree | 25d8a525fa6ccf30cf7b09e3f7e7879551318ab5 /src/List.c | |
parent | 9f5025729992607eaac987f7f82208018af84fb6 (diff) | |
download | xorg-lib-libXaw-197e9d055f3cd351ae73551955ff463294b965bf.tar.gz |
compiler-warning fixes for const-mismatches, no object-change
Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
Diffstat (limited to 'src/List.c')
-rw-r--r-- | src/List.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -683,7 +683,7 @@ ClipToShadowInteriorAndLongest(ListWidget lw, GC *gc_p, unsigned int x) static void PaintItemName(Widget w, int item) { - char *str; + _Xconst char *str; GC gc; int x, y, str_y; ListWidget lw = (ListWidget)w; @@ -1178,7 +1178,7 @@ XawListDestroy(Widget w) * If nitems is <= 0 then the list needs to be NULL terminated */ void -XawListChange(Widget w, char **list, int nitems, int longest, +XawListChange(Widget w, _Xconst char **list, int nitems, int longest, #if NeedWidePrototypes int resize_it #else |