parent
96898a8141
commit
8e4ac5f7fa
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ crop(Memimage *m, ulong c)
|
|||
m = n;
|
||||
}
|
||||
wpl = wordsperline(m->r, m->depth);
|
||||
bpl = wpl*sizeof(ulong);
|
||||
bpl = wpl*sizeof(uint32);
|
||||
buf = malloc(bpl);
|
||||
if(buf == nil)
|
||||
sysfatal("can't allocate buffer: %r");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue