summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXButton.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2016-01-31 00:54:18 (GMT)
committerKevin Walzer <kw@codebykevin.com>2016-01-31 00:54:18 (GMT)
commit312ef46823e21b861e68eeb0073936e15177c0f7 (patch)
tree8722939c3a746c7214cecf7877de1b1287fd4f76 /macosx/tkMacOSXButton.c
parent48ef3bc66f0806a4b54f4abb9888a5fc53e78d33 (diff)
downloadtk-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.c4
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;