diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-07-18 01:51:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-07-18 01:51:36 +0300 |
commit | f0e95132f27ceb901fbd779fafc798a1f67a06a6 (patch) | |
tree | 52ee9ab21f4e01c2c8ae70b86841b0138349645d /src/gui/widgets/layout.cpp | |
parent | 7e0a97d2521b9ce57003176e82a0b5564aa003c2 (diff) | |
download | manaverse-f0e95132f27ceb901fbd779fafc798a1f67a06a6.tar.gz manaverse-f0e95132f27ceb901fbd779fafc798a1f67a06a6.tar.bz2 manaverse-f0e95132f27ceb901fbd779fafc798a1f67a06a6.tar.xz manaverse-f0e95132f27ceb901fbd779fafc798a1f67a06a6.zip |
Another warning fixes.
Diffstat (limited to 'src/gui/widgets/layout.cpp')
-rw-r--r-- | src/gui/widgets/layout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/layout.cpp b/src/gui/widgets/layout.cpp index 453e62a50..990937e06 100644 --- a/src/gui/widgets/layout.cpp +++ b/src/gui/widgets/layout.cpp @@ -349,9 +349,9 @@ void LayoutArray::reflow(int nx, int ny, int nw, int nh) { int dx = x, dy = y, dw = 0, dh = 0; align(dx, dw, 0, *cell, &widths[gridX], - widths.size() - gridX); + static_cast<int>(widths.size() - gridX)); align(dy, dh, 1, *cell, &heights[gridY], - heights.size() - gridY); + static_cast<int>(heights.size() - gridY)); cell->reflow(dx, dy, dw, dh); } x += widths[gridX] + mSpacing; |