1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11-fm/xfm/files/patch-ad
2000-08-02 05:34:59 +00:00

12 lines
339 B
Plaintext

--- 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++;