diff options
Diffstat (limited to 'libmscgen/mscgen_gd_out.c')
-rw-r--r-- | libmscgen/mscgen_gd_out.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmscgen/mscgen_gd_out.c b/libmscgen/mscgen_gd_out.c index 8d8198c..72c79f5 100644 --- a/libmscgen/mscgen_gd_out.c +++ b/libmscgen/mscgen_gd_out.c @@ -180,7 +180,7 @@ unsigned int gdoTextWidth(struct ADrawTag *ctx, const char *string) { #ifndef USE_FREETYPE - const unsigned int l = strlen(string); + const unsigned int l = (unsigned int)strlen(string); /* Remove 1 pixel since there is usually an uneven gap at * the right of the last character for the fixed width |