summaryrefslogtreecommitdiffstats
path: root/kcontrol/background/crossfade.h
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/background/crossfade.h')
-rw-r--r--kcontrol/background/crossfade.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/background/crossfade.h b/kcontrol/background/crossfade.h
index dba34a3b4..da589aac4 100644
--- a/kcontrol/background/crossfade.h
+++ b/kcontrol/background/crossfade.h
@@ -31,8 +31,8 @@ inline TQPixmap crossFade(const TQPixmap &pix1, const TQPixmap &pix2, double r_a
mw = pix1.width();
mh = pix1.height();
- int alpha = 0xffff * (1-r_alpha);
-
+ short unsigned int alpha = 0xffff * (1-r_alpha);
+
XRenderColor clr = { 0, 0, 0, alpha };
XRenderPictureAttributes pa;
pa.repeat = True;