Browse Source

compiler warning

David Rose 17 years ago
parent
commit
61b849ee15
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/windisplay/winGraphicsWindow.cxx

+ 1 - 1
panda/src/windisplay/winGraphicsWindow.cxx

@@ -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);