Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49330 - trunk/boost/spirit/home/karma/numeric/detail
From: hartmut.kaiser_at_[hidden]
Date: 2008-10-14 12:31:31


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

Log:
Spirit: Fixing more regressions
Text files modified:
   trunk/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 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 2008-10-14 12:31:30 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