summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorculler <culler>2020-05-20 19:18:22 (GMT)
committerculler <culler>2020-05-20 19:18:22 (GMT)
commit856873628c3fc2a1616b88ccf1163ba60477f49d (patch)
treee3833217fc51efc1728b5c05af10ad88796471d8 /macosx
parent38d1c0b4e30e546ebe17c179e46e99884dcab433 (diff)
downloadtk-856873628c3fc2a1616b88ccf1163ba60477f49d.zip
tk-856873628c3fc2a1616b88ccf1163ba60477f49d.tar.gz
tk-856873628c3fc2a1616b88ccf1163ba60477f49d.tar.bz2
Fix compiler warning: macOS string length is unsigned.
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXFont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index d704184..13a5de0 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.c
@@ -166,7 +166,7 @@ static void DrawCharsInContext(Display *display, Drawable drawable,
* our string's unicode characters.
*/
char *p;
- int index;
+ unsigned int index;
Tcl_DStringInit(&_ds);
Tcl_DStringSetLength(&_ds, 3 * [_string length]);