Changeset 0f269c2 in mainline for kernel/generic/src/lib/memstr.c


Ignore:
Timestamp:
2008-06-03T14:46:06Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2b8b0ca
Parents:
c70d693
Message:

proper printf formatting & coding style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/lib/memstr.c

    rc70d693 r0f269c2  
    6868        } else {
    6969       
    70                 for (i = 0; i < cnt/sizeof(unative_t); i++)
     70                for (i = 0; i < cnt / sizeof(unative_t); i++)
    7171                        ((unative_t *) dst)[i] = ((unative_t *) src)[i];
    7272               
    73                 for (j = 0; j < cnt%sizeof(unative_t); j++)
     73                for (j = 0; j < cnt % sizeof(unative_t); j++)
    7474                        ((uint8_t *)(((unative_t *) dst) + i))[j] = ((uint8_t *)(((unative_t *) src) + i))[j];
    7575        }
Note: See TracChangeset for help on using the changeset viewer.