mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
compiler warning
This commit is contained in:
parent
f1a99466e7
commit
61b849ee15
@ -159,7 +159,7 @@ move_pointer(int device, int x, int y) {
|
||||
return true;
|
||||
} else {
|
||||
// Move a raw mouse.
|
||||
if ((device < 1)||(device >= _input_devices.size())) {
|
||||
if ((device < 1)||(device >= (int)_input_devices.size())) {
|
||||
return false;
|
||||
}
|
||||
_input_devices[device].set_pointer_in_window(x, y);
|
||||
|
Loading…
x
Reference in New Issue
Block a user