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 | b5e22a7b7e4fd964d34f9d16aa7802fe7322636c (patch) | |
tree | 3d501e7a93d6440379a101cb6a89bf29cce65b4d /macosx/tkMacOSXButton.c | |
parent | c3777ebd3a31648fc5427b9536d2e304e9cbcf77 (diff) | |
download | tk-b5e22a7b7e4fd964d34f9d16aa7802fe7322636c.zip tk-b5e22a7b7e4fd964d34f9d16aa7802fe7322636c.tar.gz tk-b5e22a7b7e4fd964d34f9d16aa7802fe7322636c.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; |