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 28, 2018
1 parent a395742 commit 1172ceb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
[#1321](https://github.com/DGtal-team/DGtal/pull/1321))
- Add assignment operator to ImageContainerByITKImage (Pablo Hernandez,
[#1336](https://github.com/DGtal-team/DGtal/pull/1336))
- Fix compilation warning: const qualifier ignored in cast (Pablo Hernandez,
[#1337](https://github.com/DGtal-team/DGtal/pull/1337))

- *IO*
- Fix wrong typedef for double case in ITKReader (Adrien Krähenbühl,
Expand Down
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 1172ceb

Please sign in to comment.