1
0
Fork 0

Change int to unsigned in sound device traversal

This commit is contained in:
Tim Moore 2009-12-07 06:59:04 +01:00
parent c7ef67df80
commit 6324d5a03d

View file

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