summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvText.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-22 08:36:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-05-22 08:36:30 (GMT)
commit47959a65e0ee7afdac78bdd4e9364143071c8c99 (patch)
tree109abca732a64ede18c6c63831f3a8b613732994 /generic/tkCanvText.c
parentea90046693f0db342f18db275406faef107b02d0 (diff)
downloadtk-47959a65e0ee7afdac78bdd4e9364143071c8c99.zip
tk-47959a65e0ee7afdac78bdd4e9364143071c8c99.tar.gz
tk-47959a65e0ee7afdac78bdd4e9364143071c8c99.tar.bz2
Minor compiler warning
Diffstat (limited to 'generic/tkCanvText.c')
-rw-r--r--generic/tkCanvText.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvText.c b/generic/tkCanvText.c
index 7a68ff2..b94384c 100644
--- a/generic/tkCanvText.c
+++ b/generic/tkCanvText.c
@@ -1528,7 +1528,7 @@ GetSelText(
* character. */
{
TextItem *textPtr = (TextItem *) itemPtr;
- int byteCount;
+ TkSizeT byteCount;
char *text;
const char *selStart, *selEnd;
Tk_CanvasTextInfo *textInfoPtr = textPtr->textInfoPtr;