summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-04-11 14:32:24 +0000
committerSam Spilsbury <smspillaz@gmail.com>2010-04-11 14:32:24 +0000
commit831a41e777352d26f4fa88c53ec5d5f907a0199c (patch)
tree760ffcb97a65860eb5cacb3683c3244776f139e9
parente6d003b2a4519e9ab1716e7243f391ec8fdf3017 (diff)
downloadtile-831a41e777352d26f4fa88c53ec5d5f907a0199c.tar.gz
tile-831a41e777352d26f4fa88c53ec5d5f907a0199c.tar.bz2
Fix warnings
-rw-r--r--src/tile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tile.cpp b/src/tile.cpp
index b518e67..4e1cd68 100644
--- a/src/tile.cpp
+++ b/src/tile.cpp
@@ -567,7 +567,7 @@ TileWindow::placeWin (int x,
/* does the window need to be moved? */
if (x == window->x () && y == window->y () &&
- width == window->width () && height == window->height ())
+ (int ) width == window->width () && (int ) height == window->height ())
return true;
if (!tiler)
@@ -689,10 +689,10 @@ Tiler::configure (CompWindow *w,
xwidth = xwc.width;
xheight = xwc.height;
- if (xwidth == w->serverWidth ())
+ if ((int ) xwidth == w->serverWidth ())
mask &= ~CWWidth;
- if (xheight == w->serverHeight ())
+ if ((int ) xheight == w->serverHeight ())
mask &= ~CWHeight;
if (w->mapNum () && (mask & (CWWidth | CWHeight)))