diff options
author | Kevin Walzer <kw@codebykevin.com> | 2016-01-31 00:54:18 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2016-01-31 00:54:18 (GMT) |
commit | 312ef46823e21b861e68eeb0073936e15177c0f7 (patch) | |
tree | 8722939c3a746c7214cecf7877de1b1287fd4f76 /macosx/tkMacOSXButton.c | |
parent | 48ef3bc66f0806a4b54f4abb9888a5fc53e78d33 (diff) | |
download | tk-312ef46823e21b861e68eeb0073936e15177c0f7.zip tk-312ef46823e21b861e68eeb0073936e15177c0f7.tar.gz tk-312ef46823e21b861e68eeb0073936e15177c0f7.tar.bz2 |
Fix build errors on i386 for Cocoa; thanks to Marc Culler for patch
Diffstat (limited to 'macosx/tkMacOSXButton.c')
-rw-r--r-- | macosx/tkMacOSXButton.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXButton.c b/macosx/tkMacOSXButton.c index adb78c6..35f4ab5 100644 --- a/macosx/tkMacOSXButton.c +++ b/macosx/tkMacOSXButton.c @@ -289,10 +289,10 @@ TkpComputeButtonGeometry( if ( butPtr->indicatorOn ) { switch (butPtr->type) { case TYPE_RADIO_BUTTON: - GetThemeMetric(kThemeMetricRadioButtonWidth, &butPtr->indicatorDiameter); + GetThemeMetric(kThemeMetricRadioButtonWidth, (SInt32 *)&butPtr->indicatorDiameter); break; case TYPE_CHECK_BUTTON: - GetThemeMetric(kThemeMetricCheckBoxWidth, &butPtr->indicatorDiameter); + GetThemeMetric(kThemeMetricCheckBoxWidth, (SInt32 *)&butPtr->indicatorDiameter); break; default: break; |