summaryrefslogtreecommitdiffstats
path: root/generic/tkImgUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkImgUtil.c')
-rw-r--r--generic/tkImgUtil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgUtil.c b/generic/tkImgUtil.c
index 5487165..6a43fbe 100644
--- a/generic/tkImgUtil.c
+++ b/generic/tkImgUtil.c
@@ -55,7 +55,7 @@ TkAlignImageData(
dataWidth += (alignment - (dataWidth % alignment));
}
- data = ckalloc(dataWidth * image->height);
+ data = (char *)ckalloc(dataWidth * image->height);
destPtr = data;
for (i = 0; i < image->height; i++) {