diff options
Diffstat (limited to 'generic/tkImgUtil.c')
-rw-r--r-- | generic/tkImgUtil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgUtil.c b/generic/tkImgUtil.c index 8ba6c0e..5487165 100644 --- a/generic/tkImgUtil.c +++ b/generic/tkImgUtil.c @@ -55,7 +55,7 @@ TkAlignImageData( dataWidth += (alignment - (dataWidth % alignment)); } - data = ckalloc((unsigned) dataWidth * image->height); + data = ckalloc(dataWidth * image->height); destPtr = data; for (i = 0; i < image->height; i++) { |