Commit db5fcd6b authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

mln/value/int_s.hh: Fix warnings.

parent 18262984
2010-08-24 Guillaume Lazzara <z@lrde.epita.fr>
* mln/value/int_s.hh: Fix warnings.
2010-08-13 Guillaume Lazzara <z@lrde.epita.fr>
 
Fix compilation with g++-3.3.
// Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
// Copyright (C) 2007, 2008, 2009, 2010 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
//
......@@ -53,7 +54,7 @@ namespace mln
}
namespace literal
{
{
/// \{ Fwd decls.
struct zero_t;
struct one_t;
......@@ -194,6 +195,9 @@ namespace mln
static const int min = - max;
mln_precondition(i >= min);
mln_precondition(i <= max);
(void) min;
(void) max;
this->v_ = static_cast<enc_>(i);
}
......@@ -206,6 +210,9 @@ namespace mln
static const int min = - max;
mln_precondition(i >= min);
mln_precondition(i <= max);
(void) min;
(void) max;
this->v_ = static_cast<enc_>(i);
return *this;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment