diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-12-05 15:41:28 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-12-16 10:17:02 -0800 |
commit | 2b9d8f5bac5d2352f8021548b4852014ed683b2c (patch) | |
tree | 5d946a5b389ac2741323ca2800b273f1e4be9987 /configure.ac | |
parent | e53bf74c4662c8473690c7f5fb00cd80fb86fdd7 (diff) |
Fix -Wincompatible-pointer-types warning from gcc (issue #1)
xlsfonts.c: In function ‘get_list’:
xlsfonts.c:204:23: warning: assignment to ‘char **’ from incompatible
pointer type ‘const char **’ [-Wincompatible-pointer-types]
204 | fonts = &pattern;
| ^
v2: Split the open vs. list code to allow preserving the constness
of the argument to get_list, at the cost of less code sharing between
the two paths
Closes: #1
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions