summaryrefslogtreecommitdiff
path: root/lang/f2c/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'lang/f2c/patches/patch-af')
-rw-r--r--lang/f2c/patches/patch-af13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/f2c/patches/patch-af b/lang/f2c/patches/patch-af
new file mode 100644
index 00000000000..4c93f9d296f
--- /dev/null
+++ b/lang/f2c/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.5 2004/09/15 12:27:26 dmcmahill Exp $
+
+--- libI77/lwrite.c.orig Wed Sep 15 12:00:47 2004
++++ libI77/lwrite.c
+@@ -248,7 +248,7 @@ l_write(ftnint *number, char *ptr, ftnle
+ double y,z;
+ real *xx;
+ doublereal *yy;
+- for(i=0;i< *number; i++)
++ for(i=0;i< (int)*number; i++)
+ {
+ switch((int)type)
+ {