Module Name: xsrc
Committed By: apb
Date: Fri Oct 18 16:31:40 UTC 2013
Modified Files:
xsrc/external/mit/xdm/dist/xdm: xdmauth.c
Log Message:
The result from strlen() has type size_t, so print it with "%zd" format.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 xsrc/external/mit/xdm/dist/xdm/xdmauth.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/xdm/dist/xdm/xdmauth.c
diff -u xsrc/external/mit/xdm/dist/xdm/xdmauth.c:1.2 xsrc/external/mit/xdm/dist/xdm/xdmauth.c:1.3
--- xsrc/external/mit/xdm/dist/xdm/xdmauth.c:1.2 Fri Jun 28 17:25:47 2013
+++ xsrc/external/mit/xdm/dist/xdm/xdmauth.c Fri Oct 18 16:31:40 2013
@@ -234,7 +234,7 @@ XdmGetKey(struct protoDisplay *pdpy, ARR
if (line[0] == '#' || sscanf (line, "%s %s", id, key) != 2)
continue;
bzero(line, sizeof(line));
- Debug ("Key entry for \"%s\" %ld bytes\n", id, strlen(key));
+ Debug ("Key entry for \"%s\" %zd bytes\n", id, strlen(key));
if (strlen (id) == displayID->length &&
!strncmp (id, (char *)displayID->data, displayID->length))
{