diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-07-12 18:36:56 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-07-12 18:36:56 (GMT) |
commit | 200fb2224953512283be2f8630c91fb18ae2d2ac (patch) | |
tree | 0a222e9d6f0a016c0f1b76db0d65f033bf78d68a | |
parent | e884fdf12324342e9ebf69c70bf97b0e7b93e80c (diff) | |
download | tk-200fb2224953512283be2f8630c91fb18ae2d2ac.zip tk-200fb2224953512283be2f8630c91fb18ae2d2ac.tar.gz tk-200fb2224953512283be2f8630c91fb18ae2d2ac.tar.bz2 |
Type correctness fix, to stop compiler complaint
FossilOrigin-Name: 587bcc7f274402db630ef0c291de5ecd57af9b3f
-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; } /* |