summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2008-08-21 01:47:12 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2008-08-21 01:47:12 +0200
commit51b68ab47be655d4ae11efcf8dcbd07b2be16cfb (patch)
tree319d239d50dadb81a797e441420129683556513a /src/main.cpp
parentd578748e3b71775a8c87bba784b44f385166b7c7 (diff)
downloadunity-window-decorator-51b68ab47be655d4ae11efcf8dcbd07b2be16cfb.tar.gz
unity-window-decorator-51b68ab47be655d4ae11efcf8dcbd07b2be16cfb.tar.bz2
Shut up compiler warnings.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ab8c749..bc27859 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -53,7 +53,7 @@ GLushort defaultColor[4] = { 0xffff, 0xffff, 0xffff, 0xffff };
Window currentRoot = 0;
int defaultRefreshRate = 50;
-char *defaultTextureFilter = "Good";
+const char *defaultTextureFilter = "Good";
bool shutDown = false;
bool restartSignal = false;
@@ -259,7 +259,8 @@ main (int argc, char **argv)
}
else if (!strcmp (argv[i], "--fast-filter"))
{
- ctx.textureFilterData = "<default>Fast</default>";
+ ctx.textureFilterData =
+ const_cast<char *> ("<default>Fast</default>");
defaultTextureFilter = "Fast";
}
else if (!strcmp (argv[i], "--indirect-rendering"))