diff options
author | Kevin Walzer <kw@codebykevin.com> | 2016-01-31 00:53:25 (GMT) |
---|---|---|
committer | Kevin Walzer <kw@codebykevin.com> | 2016-01-31 00:53:25 (GMT) |
commit | 503ceae0a77dc648a7c24971bb8fb40d856b447c (patch) | |
tree | 3d501e7a93d6440379a101cb6a89bf29cce65b4d /macosx/tkMacOSXButton.c | |
parent | 4d4ab1ad0839358b28a11e62b5e0778a944d8927 (diff) | |
download | tk-503ceae0a77dc648a7c24971bb8fb40d856b447c.zip tk-503ceae0a77dc648a7c24971bb8fb40d856b447c.tar.gz tk-503ceae0a77dc648a7c24971bb8fb40d856b447c.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 59d394e..ebbcf09 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; |