about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2021-07-31 14:06:26 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2021-07-31 14:06:26 +0000
commitbd99615293d5f6db55854f83305a21cac35f47b1 (patch)
tree8e4786c141a766b8c816c85f980c485ba7cac162 /src
parent6c764e123c86ccce03d4ffaee11085b9badd6765 (diff)
downloadlynx-snapshots-bd99615293d5f6db55854f83305a21cac35f47b1.tar.gz
snapshot of project "lynx", label v2-9-0dev_8
Diffstat (limited to 'src')
-rw-r--r--src/LYLocal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYLocal.c b/src/LYLocal.c
index bb9ba29f..ead3e11f 100644
--- a/src/LYLocal.c
+++ b/src/LYLocal.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYLocal.c,v 1.133 2021/07/29 21:15:21 tom Exp $
+ * $LynxId: LYLocal.c,v 1.134 2021/07/30 08:23:29 tom Exp $
  *
  *  Routines to manipulate the local filesystem.
  *  Written by: Rick Mallett, Carleton University
@@ -1700,7 +1700,7 @@ static char *match_op(const char *prefix,
     size_t len = strlen(prefix);
 
     if (!StrNCmp("LYNXDIRED://", data, 12)
-	&& !strncasecomp(prefix, data + 12, len)) {
+	&& !strncasecomp(prefix, data + 12, (int) len)) {
 	len += 12;
 #if defined(USE_DOS_DRIVES)
 	if (data[len] == '/') {	/* this is normal */