summaryrefslogtreecommitdiffstats
path: root/libmscgen/mscgen_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmscgen/mscgen_api.c')
-rw-r--r--libmscgen/mscgen_api.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmscgen/mscgen_api.c b/libmscgen/mscgen_api.c
index 0f6052a..31f5556 100644
--- a/libmscgen/mscgen_api.c
+++ b/libmscgen/mscgen_api.c
@@ -1329,7 +1329,7 @@ static void arcLine(Context *ctx,
/* Get co-ordinates of the arc end-point */
ADrawComputeArcPoint(sx, y - 1, ctx->opts.entitySpacing - 8,
- ctx->opts.loopArcHeight, 180 - 45,
+ ctx->opts.loopArcHeight, 180.0f - 45.0f,
&px, &py);
/* Draw a cross */
@@ -1393,7 +1393,7 @@ static void arcLine(Context *ctx,
/* Get co-ordinates of the arc end-point */
ADrawComputeArcPoint(sx, y - 1, ctx->opts.entitySpacing - 8,
- ctx->opts.loopArcHeight, 45,
+ ctx->opts.loopArcHeight, 45.0f,
&px, &py);
/* Draw a cross */