fix syntax for non-C99 mode

This commit is contained in:
Lysann Schlegel
2012-11-15 10:59:17 +01:00
parent 5a2b31afbe
commit 11466cd19d
2 changed files with 4 additions and 2 deletions

View File

@@ -126,7 +126,8 @@
// read found device information
NSArray* devices = [inquiry foundDevices];
for(NSUInteger i = 0; i < [devices count]; i++) {
NSUInteger i;
for(i = 0; i < [devices count]; i++) {
IOBluetoothDevice* device = [devices objectAtIndex:i];
// save the device in the wiimote structure