diff options
Diffstat (limited to 'src/cmd/draw')
-rw-r--r-- | src/cmd/draw/crop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/draw/crop.c b/src/cmd/draw/crop.c index e0710d65..6ec03b79 100644 --- a/src/cmd/draw/crop.c +++ b/src/cmd/draw/crop.c @@ -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"); |