diff options
author | Zaba999 <zaba.marcin@gmail.com> | 2012-09-18 00:01:00 +0200 |
---|---|---|
committer | Zaba999 <zaba.marcin@gmail.com> | 2012-09-18 00:01:00 +0200 |
commit | a397922e8d53c6f7ff469d38e5139fd003c705b5 (patch) | |
tree | 8f6e92a0ac59d655e5fcc48bd198aa1bae25f0db /src/common/event.cpp | |
parent | 844e11db4f394004258cdca8f8fd8bc95c41a985 (diff) | |
download | colobot-a397922e8d53c6f7ff469d38e5139fd003c705b5.tar.gz colobot-a397922e8d53c6f7ff469d38e5139fd003c705b5.tar.bz2 colobot-a397922e8d53c6f7ff469d38e5139fd003c705b5.zip |
warnings fight in progress.
Diffstat (limited to 'src/common/event.cpp')
-rw-r--r-- | src/common/event.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/event.cpp b/src/common/event.cpp index d082ba9..87c8a5c 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -24,8 +24,8 @@ static EventType g_uniqueEventType = EVENT_USER; EventType GetUniqueEventType() { - int i = (int)g_uniqueEventType+1; - g_uniqueEventType = (EventType)i; + int i = static_cast<int>(g_uniqueEventType+1); + g_uniqueEventType = static_cast<EventType>(i); return g_uniqueEventType; } |