summaryrefslogtreecommitdiffstats
path: root/generic/tkTextWind.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-31 20:28:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-10-31 20:28:31 (GMT)
commitaf9f86ade535b918b52fbbf6181fa43f60529779 (patch)
tree32e6d0f5d4ebda3d7e5aed962f0b494dd3ad660d /generic/tkTextWind.c
parentad17a7fdc47dd7a90ffd4f344af661b24ec79cde (diff)
downloadtk-af9f86ade535b918b52fbbf6181fa43f60529779.zip
tk-af9f86ade535b918b52fbbf6181fa43f60529779.tar.gz
tk-af9f86ade535b918b52fbbf6181fa43f60529779.tar.bz2
int -> Tcl_Size in Tk_ChunkMeasureProc/Tk_ChunkBboxProc
Diffstat (limited to 'generic/tkTextWind.c')
-rw-r--r--generic/tkTextWind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkTextWind.c b/generic/tkTextWind.c
index 9627f5a..e95ca34 100644
--- a/generic/tkTextWind.c
+++ b/generic/tkTextWind.c
@@ -47,7 +47,7 @@ static TkTextSegment * EmbWinCleanupProc(TkTextSegment *segPtr,
static void EmbWinCheckProc(TkTextSegment *segPtr,
TkTextLine *linePtr);
static void EmbWinBboxProc(TkText *textPtr,
- TkTextDispChunk *chunkPtr, int index, int y,
+ TkTextDispChunk *chunkPtr, Tcl_Size index, int y,
int lineHeight, int baseline, int *xPtr,int *yPtr,
int *widthPtr, int *heightPtr);
static int EmbWinConfigure(TkText *textPtr, TkTextSegment *ewPtr,
@@ -1225,7 +1225,7 @@ static void
EmbWinBboxProc(
TkText *textPtr, /* Information about text widget. */
TkTextDispChunk *chunkPtr, /* Chunk containing desired char. */
- TCL_UNUSED(int), /* Index of desired character within the
+ TCL_UNUSED(Tcl_Size), /* Index of desired character within the
* chunk. */
int y, /* Topmost pixel in area allocated for this
* line. */