summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.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)
commitbbdabb862104c63547c50ced8bc7141b10a66667 (patch)
tree8722939c3a746c7214cecf7877de1b1287fd4f76 /macosx/ttkMacOSXTheme.c
parent7e385ddf9d3d1af5fb3f8328bd7d5304af15b61a (diff)
downloadtk-bbdabb862104c63547c50ced8bc7141b10a66667.zip
tk-bbdabb862104c63547c50ced8bc7141b10a66667.tar.gz
tk-bbdabb862104c63547c50ced8bc7141b10a66667.tar.bz2
Fix build errors on i386 for Cocoa; thanks to Marc Culler for patch
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 87ec4c2..1997370 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -299,7 +299,7 @@ static void TabElementSize(
void *clientData, void *elementRecord, Tk_Window tkwin,
int *widthPtr, int *heightPtr, Ttk_Padding *paddingPtr)
{
- *heightPtr = GetThemeMetric(kThemeMetricLargeTabHeight, heightPtr);
+ GetThemeMetric(kThemeMetricLargeTabHeight, (SInt32 *)heightPtr);
*paddingPtr = Ttk_MakePadding(0, 0, 0, 2);
}