diff options
Diffstat (limited to 'carbon/tkMacOSXButton.c')
-rw-r--r-- | carbon/tkMacOSXButton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/carbon/tkMacOSXButton.c b/carbon/tkMacOSXButton.c index 4bd2cbe..d02c8ad 100644 --- a/carbon/tkMacOSXButton.c +++ b/carbon/tkMacOSXButton.c @@ -146,7 +146,7 @@ TkButton * TkpCreateButton( Tk_Window tkwin) { - MacButton *macButtonPtr = (MacButton *) ckalloc(sizeof(MacButton)); + MacButton *macButtonPtr = ckalloc(sizeof(MacButton)); Tk_CreateEventHandler(tkwin, ActivateMask, ButtonEventProc, (ClientData) macButtonPtr); |