summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdpyinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index fdf2515..c08748c 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -1460,7 +1460,7 @@ main(int argc, char *argv[])
for (i = 1; i < argc; i++) {
char *arg = argv[i];
- int len = strlen(arg);
+ size_t len = strlen(arg);
if (!strncmp("-display", arg, len)) {
if (++i >= argc) usage ();