Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49331 - branches/release/boost/spirit/home/karma/numeric/detail
From: hartmut.kaiser_at_[hidden]
Date: 2008-10-14 12:37:42


Author: hkaiser
Date: 2008-10-14 12:37:41 EDT (Tue, 14 Oct 2008)
New Revision: 49331
URL: http://svn.boost.org/trac/boost/changeset/49331

Log:
Spirit: Fixing more regressions
Text files modified:
   branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp (original)
+++ branches/release/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp 2008-10-14 12:37:41 EDT (Tue, 14 Oct 2008)
@@ -331,7 +331,7 @@
             {
                 // Allow ADL to find the correct overload for fmod
                 using namespace std;
- return cast_to_long::call(fmod(n, Radix));
+ return cast_to_long::call(fmod(n, T(Radix)));
             }
             
             template <typename T>


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