Module Name: xsrc
Committed By: rillig
Date: Sat May 15 19:30:15 UTC 2021
Modified Files:
xsrc/external/mit/xterm/dist: misc.c
Log Message:
xterm: fix Clang build on i386
xsrc/external/mit/xterm/dist/misc.c:3250:47: error: format specifies
type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned
int') [-Werror,-Wformat]
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 xsrc/external/mit/xterm/dist/misc.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/xterm/dist/misc.c
diff -u xsrc/external/mit/xterm/dist/misc.c:1.20 xsrc/external/mit/xterm/dist/misc.c:1.21
--- xsrc/external/mit/xterm/dist/misc.c:1.20 Mon May 10 12:29:11 2021
+++ xsrc/external/mit/xterm/dist/misc.c Sat May 15 19:30:15 2021
@@ -3247,7 +3247,7 @@ xtermAllocColor(XtermWidget xw, XColor *
if (have == 0 || have > MAX_U_STRING) {
if (resource.reportColors) {
- printf("color (ignored, length %lu)\n", have);
+ printf("color (ignored, length %lu)\n", (unsigned long)have);
}
} else if (XParseColor(screen->display, cmap, spec, def)) {
XColor save_def = *def;