summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-06-21 12:55:17 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2010-06-21 12:55:17 (GMT)
commit6189929e49a36b447fd3fe8372a10eaf6023272d (patch)
tree3c09019781c36fc3f4b3c544b9856ec3360574ef
parent71b840ef81a91605beecbb3cccfa0f85c3289e19 (diff)
downloadQt-6189929e49a36b447fd3fe8372a10eaf6023272d.zip
Qt-6189929e49a36b447fd3fe8372a10eaf6023272d.tar.gz
Qt-6189929e49a36b447fd3fe8372a10eaf6023272d.tar.bz2
Compiler warnings.
Reviewed-by: jbarron
-rw-r--r--src/gui/painting/qgraphicssystem_runtime_p.h2
-rw-r--r--src/gui/painting/qoutlinemapper_p.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/painting/qgraphicssystem_runtime_p.h b/src/gui/painting/qgraphicssystem_runtime_p.h
index 445f83d..101a8e7 100644
--- a/src/gui/painting/qgraphicssystem_runtime_p.h
+++ b/src/gui/painting/qgraphicssystem_runtime_p.h
@@ -170,7 +170,7 @@ public:
int windowSurfaceDestroyPolicy() const { return m_windowSurfaceDestroyPolicy; }
- int memoryUsage() const { return m_memoryUsage; }
+ uint memoryUsage() const { return m_memoryUsage; }
private:
diff --git a/src/gui/painting/qoutlinemapper_p.h b/src/gui/painting/qoutlinemapper_p.h
index f64d03b..d534f76 100644
--- a/src/gui/painting/qoutlinemapper_p.h
+++ b/src/gui/painting/qoutlinemapper_p.h
@@ -95,8 +95,8 @@ public:
m_tags(0),
m_contours(0),
m_polygon_dev(0),
- m_round_coords(false),
- m_in_clip_elements(false)
+ m_in_clip_elements(false),
+ m_round_coords(false)
{
}