diff options
author | culler <culler> | 2020-05-20 19:18:22 (GMT) |
---|---|---|
committer | culler <culler> | 2020-05-20 19:18:22 (GMT) |
commit | 856873628c3fc2a1616b88ccf1163ba60477f49d (patch) | |
tree | e3833217fc51efc1728b5c05af10ad88796471d8 /macosx | |
parent | 38d1c0b4e30e546ebe17c179e46e99884dcab433 (diff) | |
download | tk-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.c | 2 |
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]); |