|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r55233 - trunk/boost/spirit/home/karma/numeric/detail
From: frabar666_at_[hidden]
Date: 2009-07-30 14:44:05
Author: fbarel
Date: 2009-07-28 13:02:57 EDT (Tue, 28 Jul 2009)
New Revision: 55233
URL: http://svn.boost.org/trac/boost/changeset/55233
Log:
Spirit: avoid gcc warning
Text files modified:
trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
==============================================================================
--- trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp (original)
+++ trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp 2009-07-28 13:02:57 EDT (Tue, 28 Jul 2009)
@@ -470,7 +470,7 @@
{
if (std::fabs(n) < max_long())
{
- biggest_long_type l(n);
+ biggest_long_type l((biggest_long_type)n);
return call(sink, l, l, 0);
}
return call(sink, n, n, 0);
@@ -481,7 +481,7 @@
{
if (std::fabs(n) < max_long())
{
- biggest_long_type l(n);
+ biggest_long_type l((biggest_long_type)n);
return call(sink, l, l, 0);
}
return call(sink, n, n, 0);
@@ -492,7 +492,7 @@
{
if (std::fabs(n) < max_long())
{
- biggest_long_type l(n);
+ biggest_long_type l((biggest_long_type)n);
return call(sink, l, l, 0);
}
return call(sink, n, n, 0);
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk