diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-12 18:36:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-07-12 18:36:56 (GMT) |
commit | d2340a0346b170afcb39b664286ac75c32846fbe (patch) | |
tree | 0a222e9d6f0a016c0f1b76db0d65f033bf78d68a | |
parent | 0c16dc8efa3825a5d37ebd85a095261e40d93db7 (diff) | |
download | tk-d2340a0346b170afcb39b664286ac75c32846fbe.zip tk-d2340a0346b170afcb39b664286ac75c32846fbe.tar.gz tk-d2340a0346b170afcb39b664286ac75c32846fbe.tar.bz2 |
Type correctness fix, to stop compiler complaint
-rw-r--r-- | generic/tkInt.h | 2 | ||||
-rw-r--r-- | unix/tkUnixRFont.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h index bc0e0a3..88e0c25 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -1219,7 +1219,7 @@ MODULE_SCOPE Status TkParseColor (Display * display, XColor * colorPtr); #endif #ifdef HAVE_XFT -MODULE_SCOPE void TkUnixSetXftClipRegion(Region clipRegion); +MODULE_SCOPE void TkUnixSetXftClipRegion(TkRegion clipRegion); #endif /* diff --git a/unix/tkUnixRFont.c b/unix/tkUnixRFont.c index a8f5289..4203ff9 100644 --- a/unix/tkUnixRFont.c +++ b/unix/tkUnixRFont.c @@ -1124,12 +1124,12 @@ TkDrawAngledChars( 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; } /* |