summaryrefslogtreecommitdiffstats
path: root/macosx/ttkMacOSXTheme.c
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2016-01-31 00:53:25 (GMT)
committerKevin Walzer <kw@codebykevin.com>2016-01-31 00:53:25 (GMT)
commit503ceae0a77dc648a7c24971bb8fb40d856b447c (patch)
tree3d501e7a93d6440379a101cb6a89bf29cce65b4d /macosx/ttkMacOSXTheme.c
parent4d4ab1ad0839358b28a11e62b5e0778a944d8927 (diff)
downloadtk-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/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 4753a40..f9611c5 100644
--- a/macosx/ttkMacOSXTheme.c
+++ b/macosx/ttkMacOSXTheme.c
@@ -298,7 +298,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);
}