mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 09:57:26 +02:00
removed signed/unsigned comparison
This commit is contained in:
parent
5c75b53c0d
commit
1d7ac23aa1
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ DeviceTracker* DeviceTracker::getDevice(const Name& name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
DeviceTracker* DeviceTracker::getDevice(DeviceTracker::ID deviceID) {
|
DeviceTracker* DeviceTracker::getDevice(DeviceTracker::ID deviceID) {
|
||||||
if ((deviceID >= 0) && (deviceID < Singleton::get()->_devicesVector.size())) {
|
if ((deviceID >= 0) && (deviceID < (int)(Singleton::get()->_devicesVector.size()))) {
|
||||||
return Singleton::get()->_devicesVector[ deviceID ];
|
return Singleton::get()->_devicesVector[ deviceID ];
|
||||||
} else {
|
} else {
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue