summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixRFont.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-07-12 12:29:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-07-12 12:29:42 (GMT)
commit112dca2069f2104ad3f9ce75755e14de286eea89 (patch)
tree9afbb242702ecdaf583a8549bbb16ecdebc50066 /unix/tkUnixRFont.c
parent358047d8059fb3a6df83cb7b13a192c3690ba198 (diff)
downloadtk-112dca2069f2104ad3f9ce75755e14de286eea89.zip
tk-112dca2069f2104ad3f9ce75755e14de286eea89.tar.gz
tk-112dca2069f2104ad3f9ce75755e14de286eea89.tar.bz2
Type correctness fix, to stop compiler complaint.
Diffstat (limited to 'unix/tkUnixRFont.c')
-rw-r--r--unix/tkUnixRFont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixRFont.c b/unix/tkUnixRFont.c
index deecceb..c3ece5e 100644
--- a/unix/tkUnixRFont.c
+++ b/unix/tkUnixRFont.c
@@ -810,10 +810,10 @@ Tk_DrawChars(
void
TkUnixSetXftClipRegion(
- Region clipRegion) /* The clipping region to install. */
+ TkRegion clipRegion) /* The clipping region to install. */
{
ThreadSpecificData *tsdPtr = (ThreadSpecificData *)
Tcl_GetThreadData(&dataKey, sizeof(ThreadSpecificData));
- tsdPtr->clipRegion = clipRegion;
+ tsdPtr->clipRegion = (Region) clipRegion;
}