mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
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…
Reference in a new issue