mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +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) {
|
||||
if ((deviceID >= 0) && (deviceID < Singleton::get()->_devicesVector.size())) {
|
||||
if ((deviceID >= 0) && (deviceID < (int)(Singleton::get()->_devicesVector.size()))) {
|
||||
return Singleton::get()->_devicesVector[ deviceID ];
|
||||
} else {
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue