Stefan Dirsch
2e8a0fe6ec
* fix build against gcc14 (boo#1221028) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=269
13 lines
565 B
Diff
13 lines
565 B
Diff
diff -u -r -p xdm-1.1.14.old/chooser/chooser.c xdm-1.1.14/chooser/chooser.c
|
|
--- xdm-1.1.14.old/chooser/chooser.c 2024-03-06 09:11:44.928220105 +0000
|
|
+++ xdm-1.1.14/chooser/chooser.c 2024-03-06 09:18:17.760108455 +0000
|
|
@@ -277,7 +277,7 @@ RebuildTable (int size)
|
|
newTable[i] = names->fullname;
|
|
qsort (newTable, size, sizeof (char *), HostnameCompare);
|
|
}
|
|
- XawListChange (list, newTable, size, 0, TRUE);
|
|
+ XawListChange (list, (_Xconst char **) newTable, size, 0, TRUE);
|
|
free (NameTable);
|
|
NameTable = newTable;
|
|
NameTableSize = size;
|