Changeset 0f269c2 in mainline for kernel/generic/src/lib/memstr.c
- Timestamp:
- 2008-06-03T14:46:06Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2b8b0ca
- Parents:
- c70d693
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/memstr.c
rc70d693 r0f269c2 68 68 } else { 69 69 70 for (i = 0; i < cnt /sizeof(unative_t); i++)70 for (i = 0; i < cnt / sizeof(unative_t); i++) 71 71 ((unative_t *) dst)[i] = ((unative_t *) src)[i]; 72 72 73 for (j = 0; j < cnt %sizeof(unative_t); j++)73 for (j = 0; j < cnt % sizeof(unative_t); j++) 74 74 ((uint8_t *)(((unative_t *) dst) + i))[j] = ((uint8_t *)(((unative_t *) src) + i))[j]; 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.