summaryrefslogtreecommitdiff
path: root/src/session.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-03-08 13:40:06 +0100
committerDanny Baumann <dannybaumann@web.de>2009-03-08 13:40:06 +0100
commitbefc279b2ef07b9d0032f916fbfdf8e4f46d129b (patch)
treeb7fde7cffd214956a72efd543e46e61b4331c907 /src/session.cpp
parenta3093d321ba0a23aa5167a81f64ce90a0b5a3bb2 (diff)
downloadunity-window-decorator-befc279b2ef07b9d0032f916fbfdf8e4f46d129b.tar.gz
unity-window-decorator-befc279b2ef07b9d0032f916fbfdf8e4f46d129b.tar.bz2
Build fixes.
Diffstat (limited to 'src/session.cpp')
-rw-r--r--src/session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.cpp b/src/session.cpp
index 7e34e80..98cedd6 100644
--- a/src/session.cpp
+++ b/src/session.cpp
@@ -158,7 +158,7 @@ setProgramInfo (SmcConn connection,
progProp.num_vals = 1;
progProp.vals = &progVal;
progVal.value = (SmPointer) "compiz";
- progVal.length = strlen (progVal.value);
+ progVal.length = strlen ((char *) progVal.value);
props[count++] = &progProp;