aboutsummaryrefslogtreecommitdiff
path: root/drawing.c
diff options
context:
space:
mode:
Diffstat (limited to 'drawing.c')
-rw-r--r--drawing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drawing.c b/drawing.c
index 9dbcea9..b582b8f 100644
--- a/drawing.c
+++ b/drawing.c
@@ -281,5 +281,5 @@ void print_line_width(drawing *dr, int width)
* _square root_ of the main puzzle scale. Double the puzzle
* size, and the line width multiplies by 1.4.
*/
- dr->api->line_width(dr->handle, sqrt(dr->scale) * width);
+ dr->api->line_width(dr->handle, (float)sqrt(dr->scale) * width);
}