From 9177ec787db52decfffbb99ac11c03a1973fc7c1 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Sat, 16 Nov 2002 23:26:43 +0000 Subject: [PATCH] Removed a cast warning from StrokeArc git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1968 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/proto7/ScreenDriver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/proto7/ScreenDriver.cpp b/src/servers/app/proto7/ScreenDriver.cpp index 3e3d40f78c..b60d0e32ec 100644 --- a/src/servers/app/proto7/ScreenDriver.cpp +++ b/src/servers/app/proto7/ScreenDriver.cpp @@ -785,7 +785,7 @@ void ScreenDriver::StrokeArc(BRect r, float angle, float span, LayerData *d, int int startQuad, endQuad; bool useQuad1, useQuad2, useQuad3, useQuad4; bool shortspan = false; - int thick = d->pensize; + int thick = (int)d->pensize; // Watch out for bozos giving us whacko spans if ( (span >= 360) || (span <= -360) )