summaryrefslogtreecommitdiff
path: root/package/lynx/patches/patch-src_LYUtils_c
blob: d8c02cb038c8c0c3b9705065869c7c12de5a2074 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$MirOS: ports/www/lynx/patches/patch-src_LYUtils_c,v 1.3 2007/08/03 16:01:22 tg Exp $

	Important for upstream too

--- lynx2-8-7.orig/src/LYUtils.c	2007-08-03 01:24:27.000000000 +0200
+++ lynx2-8-7/src/LYUtils.c	2009-06-13 11:46:29.000000000 +0200
@@ -5903,7 +5903,7 @@ static BOOL IsOurSymlink(const char *nam
 
 	    if (cutoff != 0) {
 		HTSprintf0(&clone, "%.*s%s%s",
-			   cutoff - name,
+			   (int)(cutoff - name),
 			   name, PATHSEP_STR, buffer);
 		FREE(buffer);
 		buffer = clone;