summaryrefslogtreecommitdiff
path: root/src/bell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bell.c')
-rw-r--r--src/bell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bell.c b/src/bell.c
index ff01bb5..a8a1027 100644
--- a/src/bell.c
+++ b/src/bell.c
@@ -34,7 +34,7 @@ meta_bell_flash_screen (MetaDisplay *display,
if (screen->flash_window == None)
{
- Visual *visual = CopyFromParent;
+ Visual *visual = (Visual *)CopyFromParent;
XSetWindowAttributes xswa;
int depth = CopyFromParent;
xswa.save_under = True;