summaryrefslogtreecommitdiff
path: root/beryl-plugins/src/wobbly.c
diff options
context:
space:
mode:
authorixce <ixce@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-01 16:15:42 +0000
committerixce <ixce@d7aaf104-2d23-0410-ae22-9d23157bf5a3>2006-11-01 16:15:42 +0000
commit149056eff6bfba8aaf33a71db99e408d3ec07579 (patch)
treedac928ecd7aba0831c336ce18d3f63a3dd9b112b /beryl-plugins/src/wobbly.c
parent267b1ca81b7245725160bc310d7f22701fadf4ae (diff)
downloadmarex-dev-149056eff6bfba8aaf33a71db99e408d3ec07579.tar.gz
marex-dev-149056eff6bfba8aaf33a71db99e408d3ec07579.tar.bz2
* Fixed all the plugins compile warnings
git-svn-id: file:///beryl/trunk@953 d7aaf104-2d23-0410-ae22-9d23157bf5a3
Diffstat (limited to 'beryl-plugins/src/wobbly.c')
-rw-r--r--beryl-plugins/src/wobbly.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/beryl-plugins/src/wobbly.c b/beryl-plugins/src/wobbly.c
index ea9a3ba..8d70937 100644
--- a/beryl-plugins/src/wobbly.c
+++ b/beryl-plugins/src/wobbly.c
@@ -624,7 +624,7 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.list.value = malloc (sizeof (CompOptionValue) * N_MAP_WIN_TYPE);
for (i = 0; i < N_MAP_WIN_TYPE; i++)
o->value.list.value[i].s = strdup (mapWinType[i]);
- o->rest.s.string = windowTypeString;
+ o->rest.s.string = (char **)windowTypeString;
o->rest.s.nString = nWindowTypeString;
ws->mapWMask = compWindowTypeMaskFromStringList (&o->value);
@@ -637,7 +637,7 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.list.type = CompOptionTypeString;
o->value.list.nValue = N_FOCUS_WIN_TYPE;
o->value.list.value = NULL;
- o->rest.s.string = windowTypeString;
+ o->rest.s.string = (char **)windowTypeString;
o->rest.s.nString = nWindowTypeString;
ws->focusWMask = compWindowTypeMaskFromStringList (&o->value);
@@ -652,7 +652,7 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.list.value = malloc (sizeof (CompOptionValue) * N_MOVE_WIN_TYPE);
for (i = 0; i < N_MOVE_WIN_TYPE; i++)
o->value.list.value[i].s = strdup (moveWinType[i]);
- o->rest.s.string = windowTypeString;
+ o->rest.s.string = (char **)windowTypeString;
o->rest.s.nString = nWindowTypeString;
ws->moveWMask = compWindowTypeMaskFromStringList (&o->value);
@@ -665,7 +665,7 @@ wobblyScreenInitOptions (WobblyScreen * ws)
o->value.list.type = CompOptionTypeString;
o->value.list.nValue = N_GRAB_WIN_TYPE;
o->value.list.value = NULL;
- o->rest.s.string = windowTypeString;
+ o->rest.s.string = (char **)windowTypeString;
o->rest.s.nString = nWindowTypeString;
ws->grabWMask = compWindowTypeMaskFromStringList (&o->value);