aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge2/vga13h.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/vga13h.h b/engines/cge2/vga13h.h
index cb823645dc..4d2d637212 100644
--- a/engines/cge2/vga13h.h
+++ b/engines/cge2/vga13h.h
@@ -56,7 +56,7 @@ class FXP {
public:
FXP(void) : v(0) {}
FXP (int i0, int f0 = 0) : v((i0 * 256) + ((i0 < 0) ? -f0 : f0)) {}
- FXP& operator=(const int& x) { v = x << 8; return *this; }
+ FXP operator=(const int& x) { v = x << 8; return *this; }
FXP operator+(const FXP& x) const { FXP y; y.v = v + x.v; return y; }
FXP operator-(const FXP& x) const { FXP y; y.v = v - x.v; return y; }
FXP operator*(const FXP& x) const;