From cd438e160a1b3af0b96f8cd21e8cb1b240073021 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 20 Apr 2018 08:27:32 +1000 Subject: Backport: Remove casts, drop default argument, use const. Backport of changeset 6708:6705d3f828c5. --- src/XPM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/XPM.h') diff --git a/src/XPM.h b/src/XPM.h index a2bd6cb91..2af0ae84e 100644 --- a/src/XPM.h +++ b/src/XPM.h @@ -59,7 +59,7 @@ public: float GetScaledWidth() const { return width / scale; } int CountBytes() const; const unsigned char *Pixels() const; - void SetPixel(int x, int y, ColourDesired colour, int alpha=0xff); + void SetPixel(int x, int y, ColourDesired colour, int alpha); }; /** -- cgit v1.2.3