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)
commitb5e22a7b7e4fd964d34f9d16aa7802fe7322636c (patch)
tree3d501e7a93d6440379a101cb6a89bf29cce65b4d /macosx/ttkMacOSXTheme.c
parentc3777ebd3a31648fc5427b9536d2e304e9cbcf77 (diff)
downloadtk-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/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);
}