Change int to unsigned in sound device traversal
This commit is contained in:
parent
c7ef67df80
commit
6324d5a03d
1 changed files with 1 additions and 1 deletions
|
@ -1457,7 +1457,7 @@ bool fgInitSubsystems() {
|
||||||
|
|
||||||
vector <const char*>devices =
|
vector <const char*>devices =
|
||||||
globals->get_soundmgr()->get_available_devices();
|
globals->get_soundmgr()->get_available_devices();
|
||||||
for (int i=0; i<devices.size(); i++) {
|
for (unsigned int i=0; i<devices.size(); i++) {
|
||||||
SGPropertyNode *p = fgGetNode("/sim/sound/devices/device", i, true);
|
SGPropertyNode *p = fgGetNode("/sim/sound/devices/device", i, true);
|
||||||
p->setStringValue(devices[i]);
|
p->setStringValue(devices[i]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue