Skip to content

Commit

Permalink
Fix compilation warning: type qualifier ignored
Browse files Browse the repository at this point in the history
```cpp
Software/DGtal/DGtal-src/src/DGtal/base/OrderedAlphabet.ih:594:60: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers]
   ModuloComputer< Integer > mc( (const unsigned int)w.size() );
```
  • Loading branch information
phcerdan committed Jul 27, 2018
1 parent a395742 commit b6900c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DGtal/base/OrderedAlphabet.ih
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,7 @@ DGtal::OrderedAlphabet::nextEdge( size_t & nb_a1,
index_t & s,
bool & cvx )
{
ModuloComputer< Integer > mc( (const unsigned int)w.size() );
ModuloComputer< Integer > mc( (unsigned int)w.size() );
size_t l;
size_t len;
size_t nb;
Expand Down

0 comments on commit b6900c6

Please sign in to comment.