Changeset 75f9dcd in mainline for uspace/drv/bus/usb/uhci/pci.c


Ignore:
Timestamp:
2011-10-07T17:11:53Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6f05705
Parents:
9b8958b
Message:

uhci: Declare iteration variables inside for loops.

Fix typo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/uhci/pci.c

    r9b8958b r75f9dcd  
    8282        bool irq_found = false;
    8383
    84         size_t i;
    85         for (i = 0; i < hw_resources.count; i++) {
     84        for (size_t i = 0; i < hw_resources.count; i++) {
    8685                const hw_resource_t *res = &hw_resources.resources[i];
    8786                switch (res->type) {
Note: See TracChangeset for help on using the changeset viewer.