summaryrefslogtreecommitdiffstats
path: root/carbon/tkMacOSXScrlbr.c
diff options
context:
space:
mode:
Diffstat (limited to 'carbon/tkMacOSXScrlbr.c')
-rw-r--r--carbon/tkMacOSXScrlbr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/carbon/tkMacOSXScrlbr.c b/carbon/tkMacOSXScrlbr.c
index 8c83965..b6b9976 100644
--- a/carbon/tkMacOSXScrlbr.c
+++ b/carbon/tkMacOSXScrlbr.c
@@ -172,7 +172,7 @@ TkpCreateScrollbar(
TkMacOSXInitScrollbarMetrics();
initialized = 1;
}
- macScrollPtr = (MacScrollbar *) ckalloc(sizeof(MacScrollbar));
+ macScrollPtr = ckalloc(sizeof(MacScrollbar));
macScrollPtr->sbHandle = NULL;
macScrollPtr->macFlags = 0;
SetRect(&macScrollPtr->eraseRect, 0, 0, 0, 0);