summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-12-11 05:55:13 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-12-11 05:55:13 (GMT)
commit7d5165546e1f1cd69e5899902fe78af07524bac3 (patch)
tree6bb71d1b1a7776e639affdf3bbd982bc41fe97a7 /macosx/ttkMacOSXTheme.c
parentdd9981cdf34805e32668ccc8856f95631c0e9940 (diff)
downloadtk-7d5165546e1f1cd69e5899902fe78af07524bac3.zip
tk-7d5165546e1f1cd69e5899902fe78af07524bac3.tar.gz
tk-7d5165546e1f1cd69e5899902fe78af07524bac3.tar.bz2
Fix the build on macOS 10.6.
Diffstat (limited to 'macosx/ttkMacOSXTheme.c')
-rw-r--r--macosx/ttkMacOSXTheme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/ttkMacOSXTheme.c b/macosx/ttkMacOSXTheme.c
index b4ba894..17982b6 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -1351,7 +1351,7 @@ static void ButtonElementMinSize(
ThemeButtonParams *params = (ThemeButtonParams *)clientData;
if (params->heightMetric != NoThemeMetric) {
- ChkErr(GetThemeMetric, params->heightMetric, minHeight);
+ ChkErr(GetThemeMetric, params->heightMetric, (SInt *) minHeight);
/*
* The theme height does not include the 1-pixel border around