---
scribo/ChangeLog | 4 ++++
.../primitive/extract/separators_nonvisible.hh | 8 ++++++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index be2365e..d3b3a65 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,5 +1,9 @@
2010-11-16 Guillaume Lazzara <z(a)lrde.epita.fr>
+ * scribo/primitive/extract/separators_nonvisible.hh: Fix warnings.
+
+2010-11-16 Guillaume Lazzara <z(a)lrde.epita.fr>
+
Regen .mk files in Scribo.
* headers.mk,
diff --git a/scribo/scribo/primitive/extract/separators_nonvisible.hh
b/scribo/scribo/primitive/extract/separators_nonvisible.hh
index 460d10e..8aaeeec 100644
--- a/scribo/scribo/primitive/extract/separators_nonvisible.hh
+++ b/scribo/scribo/primitive/extract/separators_nonvisible.hh
@@ -322,7 +322,9 @@ namespace scribo
angle = (angle * 180.0f) / math::pi;
angle = angle * 20.0f + 1.0f;
mln::draw::line(debug_angle_, p1, p2,
- value::rgb8(angle, angle, angle));
+ value::rgb8(unsigned(angle),
+ unsigned(angle),
+ unsigned(angle)));
}
}
@@ -355,7 +357,9 @@ namespace scribo
angle = (angle * 180.0f) / math::pi;
angle = angle * 20.0f + 1.0f;
mln::draw::line(debug_angle_, p1, p2,
- value::rgb8(angle, angle, angle));
+ value::rgb8(unsigned(angle),
+ unsigned(angle),
+ unsigned(angle)));
}
}
}
--
1.5.6.5
Show replies by date