13 lines
392 B
Text
13 lines
392 B
Text
$NetBSD: patch-ad,v 1.2 2006/03/01 22:45:00 wiz Exp $
|
|
|
|
--- src/magic.c.orig 2001-09-03 03:09:44.000000000 +0000
|
|
+++ src/magic.c
|
|
@@ -237,7 +237,7 @@ char *name;
|
|
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++;
|