diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2015-07-05 19:02:33 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2015-07-05 19:02:33 +0000 |
| commit | b020354dc251990e7113eb402be5ff9c0e1faa7c (patch) | |
| tree | c3d634833be2c77333e6cc6edf10b3f63dab6497 /src | |
| parent | icons: add missing icon 'dialog-templates' used for 'File > New from Template' (diff) | |
| download | inkscape-b020354dc251990e7113eb402be5ff9c0e1faa7c.tar.gz inkscape-b020354dc251990e7113eb402be5ff9c0e1faa7c.zip | |
Hopefully fix build failure on i386
(bzr r14232)
Diffstat (limited to 'src')
| -rw-r--r-- | src/display/curve.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display/curve.cpp b/src/display/curve.cpp index 2f422c151..386c63166 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -629,7 +629,7 @@ SPCurve::nodes_in_path() const for(Geom::PathVector::const_iterator it = _pathv.begin(); it != _pathv.end(); ++it) { // if the path does not have any segments, it is a naked moveto, // and therefore any path has at least one valid node - size_t psize = std::max(1ul, it->size_closed()); + size_t psize = std::max<size_t>(1, it->size_closed()); nr += psize; } |
