Fixed compilation warnings in Cocoa backend

This commit is contained in:
alexey.lysiuk 2016-11-19 12:41:01 +02:00 committed by Christoph Oelckers
parent 3b240b73e9
commit 60ac12be0a
2 changed files with 2 additions and 2 deletions

View File

@ -526,7 +526,7 @@ void ProcessMouseMoveInGame(NSEvent* theEvent)
lastX = x; lastX = x;
lastY = y; lastY = y;
if (0 != event.x | 0 != event.y) if (0 != event.x || 0 != event.y)
{ {
event.type = EV_Mouse; event.type = EV_Mouse;

View File

@ -1018,7 +1018,7 @@ IOKitJoystickManager::~IOKitJoystickManager()
if (0 != notification) if (0 != notification)
{ {
IOObjectRelease(notification); IOObjectRelease(notification);
notification = NULL; notification = 0;
} }
} }
} }