summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Derrick Renaud <derrickr@mamedev.org>2009-02-25 03:17:13 +0000
committer Derrick Renaud <derrickr@mamedev.org>2009-02-25 03:17:13 +0000
commit79c1e7b9461b597d52bd62c59fa3834d92666423 (patch)
tree2f607cbad11ba8dd76aa063442b3bd0f984da990
parent051bf311a56ab36787ab6d470af5a04c14754fb6 (diff)
Fix visual C compile error.
Not worth mentioning. Is there a better fix? Cast double to float error.
-rw-r--r--src/mame/video/hd63484.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/hd63484.c b/src/mame/video/hd63484.c
index dc0b2aba37d..16ffb16fa14 100644
--- a/src/mame/video/hd63484.c
+++ b/src/mame/video/hd63484.c
@@ -846,7 +846,7 @@ static void line(INT16 sx, INT16 sy, INT16 ex, INT16 ey, INT16 col)
static void circle(INT16 sx, INT16 sy, UINT16 r, INT16 col)
{
- const float DEG2RAD = 3.14159/180;
+ const float DEG2RAD = (float)3.14159/180;
int i;
for (i = 0; i < 360 * (r / 10); i++)
{