mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
Fixed compilation warnings in Cocoa backend
This commit is contained in:
parent
3b240b73e9
commit
60ac12be0a
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -1018,7 +1018,7 @@ IOKitJoystickManager::~IOKitJoystickManager()
|
||||||
if (0 != notification)
|
if (0 != notification)
|
||||||
{
|
{
|
||||||
IOObjectRelease(notification);
|
IOObjectRelease(notification);
|
||||||
notification = NULL;
|
notification = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue