summaryrefslogtreecommitdiff
path: root/src/List.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2019-11-26 19:05:01 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2019-11-26 19:06:49 -0500
commit197e9d055f3cd351ae73551955ff463294b965bf (patch)
tree25d8a525fa6ccf30cf7b09e3f7e7879551318ab5 /src/List.c
parent9f5025729992607eaac987f7f82208018af84fb6 (diff)
downloadxorg-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/List.c b/src/List.c
index 697de33..a68a7bd 100644
--- a/src/List.c
+++ b/src/List.c
@@ -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