SHA256
1
0
forked from pool/xdm
xdm/u_gcc14-fix.patch
2024-03-06 09:26:20 +00:00

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;