summaryrefslogtreecommitdiffstats
path: root/libmscgen/mscgen_gd_out.c
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-03-02 19:10:51 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-03-02 19:10:51 (GMT)
commitfbebfae209139fccb15fde8fb7d1bdbb4b941875 (patch)
tree451d9d2cb66489e4ab427301909c58b4cbb63948 /libmscgen/mscgen_gd_out.c
parent6c06e912338176303d1a1e041a39984ff6fd42be (diff)
downloadDoxygen-fbebfae209139fccb15fde8fb7d1bdbb4b941875.zip
Doxygen-fbebfae209139fccb15fde8fb7d1bdbb4b941875.tar.gz
Doxygen-fbebfae209139fccb15fde8fb7d1bdbb4b941875.tar.bz2
Fix a number of compiler warnings in the 64bit build for Windows
Diffstat (limited to 'libmscgen/mscgen_gd_out.c')
-rw-r--r--libmscgen/mscgen_gd_out.c2
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