about summary refs log tree commit diff stats
path: root/src/LYUtils.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-02-20 00:44:42 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-02-20 00:44:42 +0000
commitf498a252d549aec6eb894a6355c451f52e2eb632 (patch)
treeb4f5335aebd2e86f321b5cd57dc38fdb93af6ebd /src/LYUtils.c
parent9194f6cf75175976385fb46cf5721b28f397f433 (diff)
downloadlynx-snapshots-f498a252d549aec6eb894a6355c451f52e2eb632.tar.gz
snapshot of project "lynx", label v2-8-9dev_16f
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index 8f7dc7a8..61dc1c5d 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYUtils.c,v 1.278 2017/07/02 20:42:32 tom Exp $
+ * $LynxId: LYUtils.c,v 1.279 2018/02/15 01:54:02 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTCP.h>
@@ -5303,7 +5303,7 @@ char *LYPathLeaf(char *pathname)
 #else
     int n;
 
-    for (leaf = 0, n = strlen(pathname) - 1; n >= 0; n--) {
+    for (leaf = 0, n = (int) strlen(pathname) - 1; n >= 0; n--) {
 	if (StrChr("\\/:", pathname[n]) != 0) {
 	    leaf = pathname + n + 1;
 	    break;
@@ -7738,7 +7738,7 @@ int put_clip(const char *szBuffer)
     if (szBuffer == NULL)
 	return EOF;
 
-    len = strlen(szBuffer);
+    len = (int) strlen(szBuffer);
     if (len == 0)
 	return EOF;
     else
@@ -8060,7 +8060,7 @@ int unsafe_filename(const char *fname)
 
     sum = 0;
     cp = save;
-    len = strlen(fname);
+    len = (int) strlen(fname);
     while (cp < (save + len)) {
 	if (*cp == '\0') {
 	    cp++;