mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -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;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
// Move a raw mouse.
|
// Move a raw mouse.
|
||||||
if ((device < 1)||(device >= _input_devices.size())) {
|
if ((device < 1)||(device >= (int)_input_devices.size())) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
_input_devices[device].set_pointer_in_window(x, y);
|
_input_devices[device].set_pointer_in_window(x, y);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user