summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-07-15 08:40:41 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-07-15 12:08:30 (GMT)
commit271358459d605e909f4ec093b971a420ff730e8f (patch)
tree409bca4cd46a1ea000d583f229ffee468ef5e30f /src/corelib/kernel
parent1eafb5c771a10377216af0f2be873c08d6cd4e27 (diff)
downloadQt-271358459d605e909f4ec093b971a420ff730e8f.zip
Qt-271358459d605e909f4ec093b971a420ff730e8f.tar.gz
Qt-271358459d605e909f4ec093b971a420ff730e8f.tar.bz2
fix warnings for mingw in QtCore
Diffstat (limited to 'src/corelib/kernel')
-rw-r--r--src/corelib/kernel/qcoreapplication_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qcoreapplication_win.cpp b/src/corelib/kernel/qcoreapplication_win.cpp
index a71f284..bf5716a 100644
--- a/src/corelib/kernel/qcoreapplication_win.cpp
+++ b/src/corelib/kernel/qcoreapplication_win.cpp
@@ -280,7 +280,7 @@ QT_END_INCLUDE_NAMESPACE
// The values below should never change. Note that none of the usual
// WM_...FIRST & WM_...LAST values are in the list, as they normally have other
// WM_... representations
-struct {
+struct KnownWM {
uint WM;
const char* str;
} knownWM[] =
@@ -582,7 +582,7 @@ struct {
{ 0,0 }}; // End of known messages
// Looks up the WM_ message in the table above
-const char* findWMstr(uint msg)
+static const char* findWMstr(uint msg)
{
uint i = 0;
const char* result = 0;