summaryrefslogtreecommitdiff
path: root/package/lynx/patches/patch-src_LYUtils_c
diff options
context:
space:
mode:
Diffstat (limited to 'package/lynx/patches/patch-src_LYUtils_c')
-rw-r--r--package/lynx/patches/patch-src_LYUtils_c15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/lynx/patches/patch-src_LYUtils_c b/package/lynx/patches/patch-src_LYUtils_c
new file mode 100644
index 000000000..a0b6bd6b8
--- /dev/null
+++ b/package/lynx/patches/patch-src_LYUtils_c
@@ -0,0 +1,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/src/LYUtils.c.orig Thu Aug 2 23:24:04 2007
++++ lynx2-8-7/src/LYUtils.c Fri Aug 3 15:59:06 2007
+@@ -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;