diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-07-12 12:29:42 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-07-12 12:29:42 (GMT) |
commit | d1afaa1032d69d8c414fcdb6c95fa8477c5320a8 (patch) | |
tree | 9afbb242702ecdaf583a8549bbb16ecdebc50066 | |
parent | 039e3ac3c9f185b86765b657fd1df14b2add0131 (diff) | |
download | tk-d1afaa1032d69d8c414fcdb6c95fa8477c5320a8.zip tk-d1afaa1032d69d8c414fcdb6c95fa8477c5320a8.tar.gz tk-d1afaa1032d69d8c414fcdb6c95fa8477c5320a8.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 a95adf8..c30eceb 100644 --- a/generic/tkInt.h +++ b/generic/tkInt.h @@ -1187,7 +1187,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 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; } |