summaryrefslogtreecommitdiff
path: root/x11-fm/xfm/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/xfm/files/patch-ad')
-rw-r--r--x11-fm/xfm/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-fm/xfm/files/patch-ad b/x11-fm/xfm/files/patch-ad
new file mode 100644
index 000000000000..dfb4acb5e28c
--- /dev/null
+++ b/x11-fm/xfm/files/patch-ad
@@ -0,0 +1,11 @@
+--- src/magic.c.orig Wed Aug 2 13:21:00 2000
++++ src/magic.c Wed Aug 2 13:21:26 2000
+@@ -234,7 +234,7 @@
+ default:
+ mtypes[count].flags |= M_EQ;
+ }
+- mtypes[count].value.number = strtol(cptr, &cptr, 0) & vmask;
++ mtypes[count].value.number = strtoul(cptr, &cptr, 0) & vmask;
+ }
+ while(isspace(*cptr))
+ cptr++;