diff options
Diffstat (limited to 'sysutils/xfm/patches/patch-ad')
-rw-r--r-- | sysutils/xfm/patches/patch-ad | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/xfm/patches/patch-ad b/sysutils/xfm/patches/patch-ad new file mode 100644 index 00000000000..a82a2a3feb0 --- /dev/null +++ b/sysutils/xfm/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2002/06/04 16:44:55 cjep Exp $ + +--- 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++; |