summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorculler <culler>2020-05-20 19:19:04 (GMT)
committerculler <culler>2020-05-20 19:19:04 (GMT)
commit6ed98c8c895eeae9795af8e3bf600485ce7bfbef (patch)
tree30114f2cd1716eb76f3fd352e7c0fae277b2cdf1 /macosx
parent4d2ab9529d8d27ecf737432f12866d8970ee7c5c (diff)
parent856873628c3fc2a1616b88ccf1163ba60477f49d (diff)
downloadtk-6ed98c8c895eeae9795af8e3bf600485ce7bfbef.zip
tk-6ed98c8c895eeae9795af8e3bf600485ce7bfbef.tar.gz
tk-6ed98c8c895eeae9795af8e3bf600485ce7bfbef.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 8a74e9d..8acba68 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]);