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>2008-01-07 23:51:16 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2008-01-07 23:51:16 -0500
commit92e120361baf8d55566015fe7bf09ac91f06a6e6 (patch)
treef39737c1ee6ee1c7e174df97e978b33c11c78238 /src/LYUtils.c
parent297adfacb3d8f416878b4abff8db35df6366aaa8 (diff)
downloadlynx-snapshots-92e120361baf8d55566015fe7bf09ac91f06a6e6.tar.gz
snapshot of project "lynx", label v2-8-7dev_7c
Diffstat (limited to 'src/LYUtils.c')
-rw-r--r--src/LYUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYUtils.c b/src/LYUtils.c
index e2ef3e0f..df8a516a 100644
--- a/src/LYUtils.c
+++ b/src/LYUtils.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYUtils.c,v 1.164 2007/11/12 00:54:18 tom Exp $ */
+/* $LynxId: LYUtils.c,v 1.165 2008/01/06 18:31:26 Thorsten.Glaser Exp $ */
 #include <HTUtils.h>
 #include <HTTCP.h>
 #include <HTParse.h>
@@ -5903,7 +5903,7 @@ static BOOL IsOurSymlink(const char *name)
 
 	    if (cutoff != 0) {
 		HTSprintf0(&clone, "%.*s%s%s",
-			   cutoff - name,
+			   (int) (cutoff - name),
 			   name, PATHSEP_STR, buffer);
 		FREE(buffer);
 		buffer = clone;