xlsfonts: Changes to 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Dec 3 18:44:46 UTC 2021
xlsfonts.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
New commits:
commit a03ab7e51a9f2239c698749df401cedf8386e721
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 28 13:05:36 2021 -0800
Clear -Wshadow warning from gcc
xlsfonts.c: In function ‘do_query_font’:
xlsfonts.c:628:24: warning: declaration of ‘dpy’ shadows a
global declaration [-Wshadow]
do_query_font(Display *dpy, char *name)
^~~
In file included from xlsfonts.c:37:0:
dsimple.h:53:17: note: shadowed declaration is here
extern Display *dpy; /* The current display */
^~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 7b84a6ffa8bae2dd9fe8cb1c8bc5b0b198584d8d
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 28 12:58:35 2021 -0800
Clear -Wsign-compare warnings from gcc
xlsfonts.c:560:16: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
i <= fs->max_char_or_byte2; i++, cs++) {
^~
xlsfonts.c: In function ‘print_character_metrics’:
xlsfonts.c:611:33: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
for (j = info->min_byte1; j <= info->max_byte1; j++) {
^~
xlsfonts.c:613:45: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
for (i = info->min_char_or_byte2; i <= info->max_char_or_byte2; i++) {
^~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 3ceafc3e134069ecd46df6482e8e7d4b5a7051c3
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sun Nov 28 12:49:54 2021 -0800
PrintProperty: replace sprintf with snprintf
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list