summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2012-09-22 11:48:41 +0200
committererihel <erihel@gmail.com>2012-09-22 11:48:41 +0200
commit37e7c73f439c0d8cbfd0f1c02b7ef5916fd748ae (patch)
treeb8a0fbe82a8903f9d6591e0cd464e4c7a5c61fa1 /src
parent0ff419560d5a567afaa0294968cc1f5b5e6b597b (diff)
downloadcolobot-37e7c73f439c0d8cbfd0f1c02b7ef5916fd748ae.tar.gz
colobot-37e7c73f439c0d8cbfd0f1c02b7ef5916fd748ae.tar.bz2
colobot-37e7c73f439c0d8cbfd0f1c02b7ef5916fd748ae.zip
* Removed some warnings
Diffstat (limited to 'src')
-rw-r--r--src/CBot/CBotString.cpp2
-rw-r--r--src/ui/key.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CBot/CBotString.cpp b/src/CBot/CBotString.cpp
index 84f9ca2..e52cd05 100644
--- a/src/CBot/CBotString.cpp
+++ b/src/CBot/CBotString.cpp
@@ -188,7 +188,7 @@ CBotString CBotString::Right(int nCount) const
if ( i < 0 ) i = 0;
int j;
- for (int j = 0 ; i < m_lg && i < 1999; ++i)
+ for (j = 0 ; i < m_lg && i < 1999; ++i)
{
chain[j++] = m_ptr[i];
}
diff --git a/src/ui/key.h b/src/ui/key.h
index be28b6e..1943f61 100644
--- a/src/ui/key.h
+++ b/src/ui/key.h
@@ -50,7 +50,7 @@ class CKey : public CControl
protected:
bool TestKey(int key);
- int m_key[2];
+ unsigned int m_key[2];
bool m_bCatch;
CApplication *m_app;