summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErkin Bahceci <erkinbah@gmail.com>2009-08-15 12:21:39 -0500
committerErkin Bahceci <erkinbah@gmail.com>2009-08-15 12:21:39 -0500
commit2c609bcd0eae44379747b9943cc9e85669c9c734 (patch)
tree03355900f77fa443662edce8fd6e650cb321ee34 /src
parentdb7813dec1cd5f4aff4a21815370d2293e03bb1e (diff)
downloadzcomp-2c609bcd0eae44379747b9943cc9e85669c9c734.tar.gz
zcomp-2c609bcd0eae44379747b9943cc9e85669c9c734.tar.bz2
Unsigned int conversions.
Diffstat (limited to 'src')
-rw-r--r--src/output.cpp8
-rw-r--r--src/screen.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/output.cpp b/src/output.cpp
index 58a66fa..a1d1940 100644
--- a/src/output.cpp
+++ b/src/output.cpp
@@ -71,10 +71,10 @@ CompOutput::setWorkArea (const CompRect& workarea)
}
void
-CompOutput::setGeometry (int x,
- int y,
- unsigned int width,
- unsigned int height)
+CompOutput::setGeometry (int x,
+ int y,
+ int width,
+ int height)
{
CompRect::setGeometry (x, y, width, height);
diff --git a/src/screen.cpp b/src/screen.cpp
index cbd8ef8..a0f4a48 100644
--- a/src/screen.cpp
+++ b/src/screen.cpp
@@ -3512,9 +3512,9 @@ PrivateScreen::setCurrentDesktop (unsigned int desktop)
}
const CompRect&
-CompScreen::getWorkareaForOutput (int output) const
+CompScreen::getWorkareaForOutput (unsigned int outputNum) const
{
- return priv->outputDevs[output].workArea ();
+ return priv->outputDevs[outputNum].workArea ();
}
void