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)
commit312ef46823e21b861e68eeb0073936e15177c0f7 (patch)
tree8722939c3a746c7214cecf7877de1b1287fd4f76 /macosx/ttkMacOSXTheme.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/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);
}