diff options
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; } |