summaryrefslogtreecommitdiff
path: root/src/screen.cpp
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-07-31 01:11:13 +0200
committerDennis kasprzyk <onestone@compiz-fusion.org>2009-07-31 01:12:04 +0200
commitb220ff78a833f6dbcdb866a17c0d9ce214f3cc5e (patch)
tree938816937266d8b3b3f3036780fabf5ee156caaf /src/screen.cpp
parent0b59bca273529fa2849409c4a25fd225fa20b8de (diff)
downloadunity-window-decorator-b220ff78a833f6dbcdb866a17c0d9ce214f3cc5e.tar.gz
unity-window-decorator-b220ff78a833f6dbcdb866a17c0d9ce214f3cc5e.tar.bz2
Handle signed/unsigned correctly
Diffstat (limited to 'src/screen.cpp')
-rw-r--r--src/screen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screen.cpp b/src/screen.cpp
index 67cb460..86dacf5 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -90,10 +90,10 @@ ModifierHandler *modHandler;
PluginClassStorage::Indices screenPluginClassIndices (0);
-int
+unsigned int
CompScreen::allocPluginClassIndex ()
{
- int i = PluginClassStorage::allocatePluginClassIndex (screenPluginClassIndices);
+ unsigned int i = PluginClassStorage::allocatePluginClassIndex (screenPluginClassIndices);
if (screenPluginClassIndices.size () != screen->pluginClasses.size ())
screen->pluginClasses.resize (screenPluginClassIndices.size ());
@@ -102,7 +102,7 @@ CompScreen::allocPluginClassIndex ()
}
void
-CompScreen::freePluginClassIndex (int index)
+CompScreen::freePluginClassIndex (unsigned int index)
{
PluginClassStorage::freePluginClassIndex (screenPluginClassIndices, index);