better mk test

This commit is contained in:
rsc 2005-07-19 16:02:31 +00:00
parent 2b6c15d87f
commit d67cd5c33c
5 changed files with 16 additions and 13 deletions

View file

@ -14,7 +14,7 @@ fmtzbinit(Fmt *f, ZBlock *b)
f->nfmt = 0;
}
#define ROUNDUP(p, n) ((void*)(((ulong)(p)+(n)-1)&~(ulong)((n)-1)))
#define ROUNDUP(p, n) ((void*)(((uintptr)(p)+(n)-1)&~(uintptr)((n)-1)))
static char zmagic[] = "1234567890abcdefghijkl";