summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2geom/transforms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2geom/transforms.h b/src/2geom/transforms.h
index 1c965eb9f..48d4b1dba 100644
--- a/src/2geom/transforms.h
+++ b/src/2geom/transforms.h
@@ -209,7 +209,7 @@ protected:
public:
Coord factor() const { return f; }
void setFactor(Coord nf) { f = nf; }
- S &operator*=(S const &s) { f += s.f; return *static_cast<S const*>(this); }
+ S &operator*=(S const &s) { f += s.f; return static_cast<S &>(*this); }
bool operator==(S const &s) const { return f == s.f; }
S inverse() const { return S(-f); }
static S identity() { return S(0); }